@import '_content/Blazicons/Blazicons.ugzwxlf6d1.bundle.scp.css';

/* /Components/Appointments/PatientAppointmentCancellationForm.razor.rz.scp.css */
/* Panel-Layout wie CalendarScheduleEditorFormFields (global nur teilweise unter .l-schedule-event-editor-scope) */

.patient-cancellation-form--dialog .l-sch-editor__panel[b-3kucv0ulf9] {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-md, 0.75rem);
  padding: var(--l-space-md, 0.75rem);
  border-radius: var(--l-radius-lg, 0.5rem);
  border: 1px solid var(--l-border-light);
  background: var(--l-bg-elevated);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--l-text) 4%, transparent);
}

.patient-cancellation-form--dialog .l-sch-editor__panel--therapy[b-3kucv0ulf9] {
  border-color: color-mix(in srgb, var(--l-primary) 22%, var(--l-border-light));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--l-primary) 5%, var(--l-bg-elevated)) 0%,
    var(--l-bg-elevated) 48%
  );
}

.patient-cancellation-form--dialog .l-sch-editor__panel-head[b-3kucv0ulf9] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.patient-cancellation-form--dialog .l-sch-editor__panel-title[b-3kucv0ulf9] {
  font-size: var(--l-text-base, 0.9375rem);
  font-weight: 600;
  color: var(--l-text-primary, var(--l-text));
  letter-spacing: -0.01em;
}

.patient-cancellation-form--dialog .l-sch-editor__panel-hint[b-3kucv0ulf9] {
  font-size: 0.8125rem;
  color: var(--l-text-secondary);
  line-height: 1.35;
}

.patient-cancellation-form--dialog .l-sch-editor__field[b-3kucv0ulf9] {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.patient-cancellation-form--dialog .l-sch-editor__divider[b-3kucv0ulf9] {
  height: 1px;
  margin: 0;
  background: var(--l-border-light);
  border: none;
}

.patient-cancellation-form--dialog .l-sch-editor__notes-wrap[b-3kucv0ulf9] {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.patient-cancellation-form--dialog .l-sch-editor__notes-label[b-3kucv0ulf9] {
  font-size: var(--l-text-sm, 0.8125rem);
  font-weight: 500;
  color: var(--l-text-secondary);
  margin: 0;
}

/* Segment-Auswahl (Stornierungsgrund / -quelle) */

.cancellation-choice-grid[b-3kucv0ulf9] {
  display: grid;
  gap: var(--l-space-sm, 0.5rem);
  width: 100%;
}

/* 6 Gründe → 2 Zeilen à 3 (Dialog ~600px) */
.patient-cancellation-form--dialog .cancellation-choice-grid--reasons[b-3kucv0ulf9] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 4 Quellen → 1 Zeile */
.patient-cancellation-form--dialog .cancellation-choice-grid--sources[b-3kucv0ulf9] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cancellation-patient-details[b-3kucv0ulf9] {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-md, 0.75rem);
}

.cancellation-notice-datetime-row[b-3kucv0ulf9] {
  width: 100%;
}

.cancellation-notice-datetime-row .l-sch-editor__group-label[b-3kucv0ulf9] {
  margin-bottom: 0.15rem;
}

.patient-cancellation-form--dialog input.l-field-input[type="text"][b-3kucv0ulf9] {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.875rem;
  border-radius: var(--l-radius-md, 0.375rem);
  border: 1px solid var(--l-border);
  background-color: var(--l-bg-elevated);
  color: var(--l-text);
  box-sizing: border-box;
}

.patient-cancellation-form--dialog input.l-field-input:focus[b-3kucv0ulf9] {
  outline: none;
  border-color: var(--l-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--l-primary) 14%, transparent);
}



.cancellation-choice[b-3kucv0ulf9] {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 100%;

  min-height: 2.125rem;

  margin: 0;

  padding: 0.4rem 0.55rem;

  border: 1px solid var(--l-border);

  border-radius: var(--l-radius-md, 0.375rem);

  background: var(--l-bg-elevated);

  color: var(--l-text);

  font-size: 0.8125rem;

  line-height: 1.25;

  font-weight: 500;

  text-align: center;

  cursor: pointer;

  transition:

    border-color 0.15s ease,

    background-color 0.15s ease,

    box-shadow 0.15s ease;

}



.cancellation-choice:hover:not(:disabled)[b-3kucv0ulf9] {

  border-color: color-mix(in srgb, var(--l-primary) 40%, var(--l-border));

  background: color-mix(in srgb, var(--l-primary) 5%, var(--l-bg-elevated));

}



.cancellation-choice:focus-visible[b-3kucv0ulf9] {

  outline: none;

  box-shadow: 0 0 0 2px color-mix(in srgb, var(--l-primary) 22%, transparent);

}



.cancellation-choice--selected[b-3kucv0ulf9] {

  border-color: var(--l-primary);

  background: color-mix(in srgb, var(--l-primary) 12%, var(--l-bg-elevated));

  color: var(--l-text);

  font-weight: 600;

  box-shadow: 0 0 0 1px color-mix(in srgb, var(--l-primary) 35%, transparent);

}



.cancellation-choice--selected:hover:not(:disabled)[b-3kucv0ulf9] {

  background: color-mix(in srgb, var(--l-primary) 16%, var(--l-bg-elevated));

}



.cancellation-choice:disabled[b-3kucv0ulf9] {

  opacity: 0.55;

  cursor: not-allowed;

}



.cancellation-choice-custom[b-3kucv0ulf9] {

  margin-top: 0.35rem;

}



.cancellation-field-hint[b-3kucv0ulf9] {

  display: block;

  margin: -0.1rem 0 0.25rem;

}



.cancellation-late-fee-hint[b-3kucv0ulf9] {

  margin-top: 0;

}



.cancellation-late-fee-hint .calendar-editor-episode-mismatch__body p[b-3kucv0ulf9] {

  font-size: 0.8125rem;

  line-height: 1.4;

}



.cancellation-late-fee-lcheckbox.l-checkbox[b-3kucv0ulf9] {
  margin: 0.5rem 0 0;
  align-items: center;
}

.cancellation-late-fee-lcheckbox .l-checkbox__label[b-3kucv0ulf9] {
  font-size: 0.8125rem;
  font-weight: 500;
}

.cancellation-notify-lcheckbox.l-checkbox[b-3kucv0ulf9] {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0.5rem;
}

.cancellation-notify-lcheckbox .l-checkbox__indicator[b-3kucv0ulf9] {
  margin-top: 0.15rem;
}

.cancellation-no-show-hint[b-3kucv0ulf9] {

  margin-top: 0;

}



.cancellation-notify-row__text[b-3kucv0ulf9] {

  display: flex;

  flex-direction: column;

  gap: 0.15rem;

  min-width: 0;

}



.cancellation-notify-row__text strong[b-3kucv0ulf9] {

  font-size: 0.875rem;

  font-weight: 600;

}



.patient-cancellation-form--dialog .l-sch-editor__panel[b-3kucv0ulf9] {

  margin: 0;

}



.patient-cancellation-form--dialog .l-sch-editor[b-3kucv0ulf9] {

  gap: 0;

}



@media (max-width: 520px) {
  .patient-cancellation-form--dialog .cancellation-choice-grid--reasons[b-3kucv0ulf9] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patient-cancellation-form--dialog .cancellation-choice-grid--sources[b-3kucv0ulf9] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}



/* Legacy-Dropdown-Variante (Kalender ohne Chips) */

.cancellation-dropdown.e-control-wrapper[b-3kucv0ulf9],

.cancellation-dropdown.e-input-group[b-3kucv0ulf9] {

  width: 100%;

}


/* /Components/Billing/FakturaVorrat/FakturaVorratExportDialog.razor.rz.scp.css */
/ *   S t y l e s :   w w w r o o t / c s s / f a k t u r a - v o r r a t - e x p o r t - d i a l o g . c s s   ( g l o b a l ,   w e i l   S f D i a l o g   n a c h   # a p p   t e l e p o r t i e r t ) .   * / 
 [b-kpnfqptumo]
/* /Components/Billing/FakturaVorrat/FakturaWorkGroupList.razor.rz.scp.css */
.faktura-vorrat-list[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.faktura-vorrat-list__content[b-3qt72412yd] {
    display: grid;
    grid-template-rows: auto 1fr;
    flex: 1;
    min-height: 0;
    height: 100%;
    gap: var(--l-space-sm, 0.5rem);
}

.faktura-vorrat-list__content--paged[b-3qt72412yd] {
    grid-template-rows: auto 1fr auto;
}

.faktura-vorrat-list__toolbar[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    gap: var(--l-space-sm, 0.5rem);
    min-width: 0;
}

.faktura-vorrat-list__items-scroll[b-3qt72412yd] {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.15rem;
}

.faktura-vorrat-list__footer[b-3qt72412yd] {
    flex-shrink: 0;
    padding: 0.5rem 0 0.15rem;
    border-top: 1px solid var(--l-border-light);
    background: var(--l-bg-elevated);
    box-shadow: 0 -8px 24px color-mix(in srgb, var(--l-text) 6%, transparent);
}

.faktura-vorrat-list__footer[b-3qt72412yd]  .faktura-vorrat-list__paging.paging-bar {
    margin-top: 0;
    border-top: 0;
    padding: 0.15rem 0;
}

.faktura-vorrat-list__summary[b-3qt72412yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.35rem 0.15rem;
    font-size: 0.8125rem;
    color: var(--l-text-secondary);
}

.faktura-vorrat-list__summary-stats[b-3qt72412yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.faktura-vorrat-list__summary-sort[b-3qt72412yd] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}

.faktura-vorrat-list__sort-label[b-3qt72412yd] {
    font-size: 0.75rem;
    color: var(--l-text-secondary);
    white-space: nowrap;
}

.faktura-vorrat-list__sort-select[b-3qt72412yd] {
    min-width: 11rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--l-border-light);
    border-radius: var(--l-radius-md, 0.375rem);
    background: var(--l-bg-elevated);
    font: inherit;
    font-size: 0.75rem;
    color: var(--l-text-primary, var(--l-text));
    cursor: pointer;
}

.faktura-vorrat-list__sort-select:focus-visible[b-3qt72412yd] {
    outline: 2px solid color-mix(in srgb, var(--l-primary) 45%, transparent);
    outline-offset: 2px;
}

.faktura-vorrat-list__summary-dot[b-3qt72412yd] {
    opacity: 0.55;
}

.faktura-vorrat-list__summary-amount[b-3qt72412yd] {
    font-weight: 600;
    color: var(--l-text-primary, var(--l-text));
}

.faktura-vorrat-list__loading--inline[b-3qt72412yd] {
    margin-bottom: 0;
}

.faktura-vorrat-list__items--loading[b-3qt72412yd] {
    opacity: 0.55;
    pointer-events: none;
}

.faktura-vorrat-list__items[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    gap: var(--l-space-sm, 0.5rem);
}

.faktura-vorrat-list__selection[b-3qt72412yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--l-border-light);
    border-radius: var(--l-radius-lg);
    background: var(--l-bg-surface-alt, var(--l-bg-elevated));
    font-size: 0.8125rem;
    color: var(--l-text-secondary);
}

.faktura-vorrat-list__selection--active[b-3qt72412yd] {
    border-color: color-mix(in srgb, var(--l-primary) 28%, var(--l-border-light));
    background: color-mix(in srgb, var(--l-primary) 5%, var(--l-bg-elevated));
}

.faktura-vorrat-list__page-select[b-3qt72412yd] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.faktura-vorrat-list__page-select-input[b-3qt72412yd] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--l-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.faktura-vorrat-list__selection-count[b-3qt72412yd] {
    font-weight: 600;
    color: var(--l-text-primary, var(--l-text));
}

.faktura-vorrat-list__selection-action[b-3qt72412yd] {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--l-text-secondary);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.faktura-vorrat-list__selection-action:hover:not(:disabled)[b-3qt72412yd] {
    color: var(--l-primary);
}

.faktura-vorrat-list__selection-action:disabled[b-3qt72412yd] {
    opacity: 0.65;
    cursor: wait;
}

.faktura-vorrat-list__selection-action--primary[b-3qt72412yd] {
    font-weight: 600;
    color: var(--l-primary);
    text-decoration: none;
}

.faktura-vorrat-list__selection-action--primary:hover:not(:disabled)[b-3qt72412yd] {
    text-decoration: underline;
}

.faktura-vorrat-list__selection-hint[b-3qt72412yd] {
    font-size: 0.75rem;
    color: var(--l-text-secondary);
}

.faktura-vorrat-item[b-3qt72412yd] {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--l-border-light);
    border-radius: var(--l-radius-lg);
    background: var(--l-bg-elevated);
    text-align: left;
    font: inherit;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.faktura-vorrat-item__select-rail[b-3qt72412yd] {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 2.5rem;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid var(--l-border-light);
    background: color-mix(in srgb, var(--l-text) 3%, var(--l-bg-elevated));
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.faktura-vorrat-item__select-rail:hover[b-3qt72412yd] {
    background: color-mix(in srgb, var(--l-primary) 8%, var(--l-bg-elevated));
}

.faktura-vorrat-item__select-rail.is-selected[b-3qt72412yd] {
    background: color-mix(in srgb, var(--l-primary) 14%, var(--l-bg-elevated));
    border-right-color: color-mix(in srgb, var(--l-primary) 22%, var(--l-border-light));
}

.faktura-vorrat-item__select-rail:focus-visible[b-3qt72412yd] {
    outline: 2px solid color-mix(in srgb, var(--l-primary) 45%, transparent);
    outline-offset: -2px;
    z-index: 1;
}

.faktura-vorrat-item__toggle-indicator[b-3qt72412yd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid color-mix(in srgb, var(--l-text-secondary) 28%, var(--l-border-light));
    border-radius: 0.3rem;
    background: var(--l-bg-elevated);
    color: #fff;
    pointer-events: none;
    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.faktura-vorrat-item__select-rail:hover .faktura-vorrat-item__toggle-indicator:not(.is-on)[b-3qt72412yd] {
    border-color: color-mix(in srgb, var(--l-primary) 40%, var(--l-border-light));
}

.faktura-vorrat-item__toggle-indicator.is-on[b-3qt72412yd] {
    border-color: var(--l-primary);
    background: var(--l-primary);
}

.faktura-vorrat-item__main[b-3qt72412yd] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.875rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.faktura-vorrat-item--recipe[b-3qt72412yd] {
    border-color: color-mix(in srgb, var(--l-primary) 18%, var(--l-border-light));
}

.faktura-vorrat-item--recipe .faktura-vorrat-item__main[b-3qt72412yd] {
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--l-primary) 4%, var(--l-bg-elevated)) 0%,
        var(--l-bg-elevated) 52%
    );
}

.faktura-vorrat-item:hover[b-3qt72412yd] {
    border-color: color-mix(in srgb, var(--l-primary) 28%, var(--l-border-light));
}

.faktura-vorrat-item__main:focus-visible[b-3qt72412yd] {
    outline: 2px solid color-mix(in srgb, var(--l-primary) 45%, transparent);
    outline-offset: -2px;
    border-radius: 0 var(--l-radius-md) var(--l-radius-md) 0;
}

.faktura-vorrat-item:not(:has(.faktura-vorrat-item__select-rail)) .faktura-vorrat-item__main:focus-visible[b-3qt72412yd] {
    border-radius: var(--l-radius-md);
}

.faktura-vorrat-item__avatar[b-3qt72412yd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.125rem;
    border-radius: var(--l-radius-full);
    background: color-mix(in srgb, var(--l-primary) 12%, var(--l-bg-surface-alt, var(--l-bg-elevated)));
    color: var(--l-primary);
    flex-shrink: 0;
}

.faktura-vorrat-item--recipe .faktura-vorrat-item__avatar[b-3qt72412yd] {
    background: color-mix(in srgb, var(--l-primary) 14%, var(--l-bg-surface-alt, var(--l-bg-elevated)));
}

.faktura-vorrat-item__body[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.faktura-vorrat-item__head[b-3qt72412yd] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.faktura-vorrat-item__patient[b-3qt72412yd] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--l-text-primary, var(--l-text));
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faktura-vorrat-item__patient-link[b-3qt72412yd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.2rem;
    border-radius: var(--l-radius-sm);
    color: var(--l-text-secondary);
    opacity: 0.85;
}

.faktura-vorrat-item__patient-link:hover[b-3qt72412yd] {
    color: var(--l-primary);
    background: var(--l-bg-hover);
    opacity: 1;
}

.faktura-vorrat-item__meta[b-3qt72412yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--l-text-secondary);
}

.faktura-vorrat-item__recipes[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.05rem;
}

.faktura-vorrat-item__recipe-line[b-3qt72412yd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--l-text-secondary);
}

.faktura-vorrat-item__warnings[b-3qt72412yd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.faktura-vorrat-warning[b-3qt72412yd] {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: var(--l-radius-full);
    border: 1px solid color-mix(in srgb, var(--l-warning, #c9a227) 35%, transparent);
    background: color-mix(in srgb, var(--l-warning, #f5e6a3) 16%, var(--l-bg-elevated));
    font-size: 0.6875rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--l-warning, #9a7b0a) 85%, var(--l-text));
    line-height: 1.3;
}

.faktura-vorrat-item__aside[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.faktura-vorrat-item__amount[b-3qt72412yd] {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--l-text-primary, var(--l-text));
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.faktura-vorrat-item__amount--empty[b-3qt72412yd] {
    color: var(--l-text-muted);
    font-weight: 600;
}

.faktura-vorrat-item__count[b-3qt72412yd] {
    font-size: 0.6875rem;
    color: var(--l-text-secondary);
    white-space: nowrap;
}

.recipe-progress-chip[b-3qt72412yd] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.1rem 0.45rem;
    border-radius: var(--l-radius-full);
    border: 1px solid var(--l-border-light);
    background: var(--l-bg-surface-alt, var(--l-bg-elevated));
    font-size: 0.6875rem;
    line-height: 1.35;
    white-space: nowrap;
}

.recipe-progress-chip .chip-code[b-3qt72412yd] {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--l-text-primary, var(--l-text));
}

.recipe-progress-chip .chip-count[b-3qt72412yd] {
    font-weight: 600;
    color: var(--l-text-secondary);
    font-variant-numeric: tabular-nums;
}

.recipe-progress-chip.is-complete[b-3qt72412yd] {
    border-color: color-mix(in srgb, var(--l-success, #2e7d32) 35%, var(--l-border-light));
    background: color-mix(in srgb, var(--l-success, #2e7d32) 10%, var(--l-bg-elevated));
}

.recipe-progress-chip.is-complete .chip-count[b-3qt72412yd] {
    color: color-mix(in srgb, var(--l-success, #2e7d32) 80%, var(--l-text));
}

.faktura-vorrat-list__loading[b-3qt72412yd] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1.5rem 0.25rem;
}

.faktura-vorrat-list__loading-bar[b-3qt72412yd] {
    display: block;
    width: 3rem;
    height: 3px;
    border-radius: var(--l-radius-full);
    background: linear-gradient(
        90deg,
        var(--l-border-light) 0%,
        var(--l-primary) 50%,
        var(--l-border-light) 100%
    );
    background-size: 200% 100%;
    animation: faktura-vorrat-loading-b-3qt72412yd 1.1s ease-in-out infinite;
}

.faktura-vorrat-list__loading-text[b-3qt72412yd] {
    font-size: 0.8125rem;
    color: var(--l-text-secondary);
}

.faktura-vorrat-list__empty[b-3qt72412yd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 1rem;
    color: var(--l-text-secondary);
    text-align: center;
}

.faktura-vorrat-list__empty p[b-3qt72412yd] {
    margin: 0;
    font-size: 0.875rem;
}

@keyframes faktura-vorrat-loading-b-3qt72412yd {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@media (max-width: 640px) {
    .faktura-vorrat-item[b-3qt72412yd] {
        flex-wrap: nowrap;
    }

    .faktura-vorrat-item__main[b-3qt72412yd] {
        flex-wrap: wrap;
    }

    .faktura-vorrat-item__aside[b-3qt72412yd] {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        padding-top: 0.35rem;
        border-top: 1px solid var(--l-border-light);
    }
}
/* /Components/Billing/FakturaVorrat/ReleaseInvoicedAppointmentConfirmDialogHost.razor.rz.scp.css */
.release-billing-confirm__lead[b-66wi00lbnh] {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-text-primary);
}

.release-billing-confirm__facts[b-66wi00lbnh] {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-darker, #f8fafc);
}

.release-billing-confirm__facts-title[b-66wi00lbnh] {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.release-billing-confirm__appointments[b-66wi00lbnh] {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
    display: grid;
    gap: 6px;
}

.release-billing-confirm__appointment[b-66wi00lbnh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: var(--color-bg-light);
    border: 1px solid transparent;
    font-size: 13px;
    color: var(--color-text-primary);
}

.release-billing-confirm__appointment-date[b-66wi00lbnh] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.release-billing-confirm__appointment-subject[b-66wi00lbnh] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-secondary);
}

.release-billing-confirm__footnote[b-66wi00lbnh] {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}
/* /Components/Billing/ManualInvoiceDialogHost.razor.rz.scp.css */
.manual-invoice-pos-combo-item[b-mdbz77177o] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
}

.manual-invoice-pos-combo-code[b-mdbz77177o] {
    flex: 0 0 auto;
    font-weight: 600;
    min-width: 2.5rem;
}

.manual-invoice-pos-combo-name[b-mdbz77177o] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manual-invoice-pos-combo-price[b-mdbz77177o] {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-secondary, #64748b);
}

.manual-invoice-pos-description[b-mdbz77177o] {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manual-invoice-dialog-footer[b-mdbz77177o] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.manual-invoice-dialog-actions[b-mdbz77177o] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.export-summary[b-mdbz77177o] {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 10px 12px;
    background-color: var(--l-bg-surface);
    border-radius: var(--l-radius-sm);
    border: 1px solid var(--l-border-light);
}

.export-summary-item[b-mdbz77177o] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.export-summary-title[b-mdbz77177o] {
    font-size: 13px;
    font-weight: 600;
}

.export-summary-value[b-mdbz77177o] {
    color: var(--l-text-secondary);
}
/* /Components/BodyDiagramSelector.razor.rz.scp.css */
.body-diagram-container[b-1wjp8x5tu0] {
    display: flex;
    justify-content: center;
    width: 100%;
}

.body-diagram-content[b-1wjp8x5tu0] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.body-diagram-wrapper[b-1wjp8x5tu0] {
    max-width: min(280px, 100%);
    width: 100%;
    flex-shrink: 0;
    background: var(--l-bg-surface);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-md);
    padding: 0.65rem;
}

.body-diagram[b-1wjp8x5tu0] {
    width: 100%;
    height: auto;
    display: block;
}

.body-region[b-1wjp8x5tu0] {
    fill: color-mix(in srgb, var(--l-primary) 28%, transparent);
    stroke: var(--l-primary);
    stroke-width: 2;
    cursor: pointer;
    transition: fill 0.2s ease, stroke 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    opacity: 0.88;
}

.body-region:hover[b-1wjp8x5tu0] {
    fill: color-mix(in srgb, var(--l-primary) 52%, transparent);
    stroke: var(--l-primary);
    stroke-width: 2.5;
    opacity: 1;
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--l-primary) 45%, transparent));
}

.body-region.selected[b-1wjp8x5tu0] {
    fill: color-mix(in srgb, var(--l-primary) 68%, transparent);
    stroke: var(--l-primary);
    stroke-width: 3;
    opacity: 1;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--l-primary) 55%, transparent));
}

.body-diagram-selection[b-1wjp8x5tu0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem 0;
    min-width: 0;
}

.body-diagram-selection-chip[b-1wjp8x5tu0] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: var(--l-radius-sm);
    background: var(--l-primary-soft);
    color: var(--l-primary);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--l-primary) 35%, transparent);
}

.body-diagram-count[b-1wjp8x5tu0] {
    font-size: 0.72rem;
    color: var(--l-text-secondary);
}

@media (max-width: 768px) {
    .body-diagram-content[b-1wjp8x5tu0] {
        flex-direction: column;
        align-items: center;
    }
}
/* /Components/Dashboards/HomeDevHint.razor.rz.scp.css */
.home-dev-hint[b-nlvibwi5gy] {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    width: min(420px, calc(100vw - 2rem));
    padding: 0.9rem 2.25rem 0.9rem 1rem;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-lg);
    background: var(--l-bg-elevated);
    box-shadow: var(--l-shadow-sm);
    pointer-events: auto;
}

.home-dev-hint__close[b-nlvibwi5gy] {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--l-text-secondary);
    cursor: pointer;
    line-height: 1;
}

.home-dev-hint__close:hover[b-nlvibwi5gy] {
    color: var(--l-text);
    background: color-mix(in srgb, var(--l-text) 8%, transparent);
}

.home-dev-hint__title[b-nlvibwi5gy] {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--l-text);
}

.home-dev-hint__text[b-nlvibwi5gy] {
    font-size: 0.9rem;
    color: var(--l-text-secondary);
    margin-bottom: 0.5rem;
}

.home-dev-hint__link[b-nlvibwi5gy] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
}

.home-dev-hint__link:hover[b-nlvibwi5gy] {
    text-decoration: underline;
}
/* /Components/Dashboards/TherapistTodayAppointmentsTable.razor.rz.scp.css */
.therapist-today-appointments__grid-wrap[b-f1k154o9d3] {
    width: 100%;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid.e-grid[b-f1k154o9d3] {
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-md);
    overflow: hidden;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-gridheader[b-f1k154o9d3] {
    border-bottom: none;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-headercell[b-f1k154o9d3] {
    background-color: var(--l-primary-dark) !important;
    border-color: color-mix(in srgb, var(--l-primary-dark) 85%, white) !important;
    color: var(--l-text-on-primary) !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding-block: 0.65rem;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-headercelldiv[b-f1k154o9d3] {
    color: var(--l-text-on-primary) !important;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-rowcell[b-f1k154o9d3] {
    background-color: var(--l-bg-elevated) !important;
    border-color: var(--l-border-light) !important;
    padding-block: 0.75rem;
    vertical-align: middle;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-altrow .e-rowcell[b-f1k154o9d3] {
    background-color: var(--l-bg-surface-alt) !important;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-row:hover .e-rowcell[b-f1k154o9d3] {
    background-color: var(--l-bg-hover) !important;
}

.therapist-today-appointments__time[b-f1k154o9d3] {
    color: var(--l-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.therapist-today-appointments__time-cell[b-f1k154o9d3] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.therapist-today-appointments__new-badge[b-f1k154o9d3] {
    background: var(--l-primary-bg, color-mix(in srgb, var(--l-primary) 14%, white));
    border-radius: var(--l-radius-full);
    color: var(--l-primary-dark, var(--l-primary));
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 0.2rem 0.45rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-row.therapist-today-appointments__row--new-today .e-rowcell[b-f1k154o9d3] {
    background-color: color-mix(in srgb, var(--l-primary) 7%, var(--l-bg-elevated)) !important;
    box-shadow: inset 3px 0 0 var(--l-primary);
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-altrow.therapist-today-appointments__row--new-today .e-rowcell[b-f1k154o9d3] {
    background-color: color-mix(in srgb, var(--l-primary) 7%, var(--l-bg-surface-alt)) !important;
}

.therapist-today-appointments__grid-wrap .therapist-today-appointments__grid .e-row.therapist-today-appointments__row--new-today:hover .e-rowcell[b-f1k154o9d3] {
    background-color: color-mix(in srgb, var(--l-primary) 10%, var(--l-bg-hover)) !important;
}

.therapist-today-appointments__patient[b-f1k154o9d3] {
    align-items: center;
    display: flex;
    gap: var(--l-space-sm);
}

.therapist-today-appointments__patient-name[b-f1k154o9d3] {
    color: var(--l-text);
    font-weight: 600;
}

.therapist-today-appointments__therapist[b-f1k154o9d3] {
    color: var(--l-text-secondary);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.therapist-today-open-button.e-btn[b-f1k154o9d3] {
    align-items: center;
    background-color: var(--l-primary-dark) !important;
    border-color: var(--l-primary-dark) !important;
    color: var(--l-text-on-primary) !important;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    vertical-align: middle;
    width: 28px;
}

.therapist-today-open-button.e-btn:hover[b-f1k154o9d3] {
    background-color: var(--l-primary-dark-hover) !important;
    border-color: var(--l-primary-dark-hover) !important;
}

.therapist-today-open-button__icon[b-f1k154o9d3] {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 0;
}

.therapist-today-appointments__slot[b-f1k154o9d3] {
    align-items: center;
    border-radius: var(--l-radius-full);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
}

.therapist-today-appointments__slot--free[b-f1k154o9d3] {
    background: var(--l-success-bg);
    color: var(--l-success);
}

.therapist-today-appointments__slot--pause[b-f1k154o9d3] {
    background: var(--l-warning-bg);
    color: var(--l-warning);
}

.therapist-today-appointments__adjacent[b-f1k154o9d3] {
    color: var(--l-text-secondary);
}
/* /Components/DiagnosisSelector.razor.rz.scp.css */
.diagnosis-selector[b-8xd572uclh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 0;
    height: 100%;
    background: var(--l-bg-elevated);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-md);
    padding: 0.65rem;
}

.selector-tabs[b-8xd572uclh] {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.tab-button[b-8xd572uclh] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    background: transparent;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--l-text-secondary);
}

.tab-button:hover[b-8xd572uclh] {
    color: var(--l-text);
    background: var(--l-bg-surface);
    border-color: var(--l-primary);
}

.tab-button.active[b-8xd572uclh] {
    color: var(--l-primary);
    border-color: var(--l-primary);
    background: var(--l-primary-soft);
}

.tab-button:focus-visible[b-8xd572uclh] {
    outline: 2px solid var(--l-primary);
    outline-offset: 2px;
}

.selector-clear[b-8xd572uclh] {
    width: 26px;
    height: 26px;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    background: var(--l-bg-elevated);
    color: var(--l-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.selector-clear:focus-visible[b-8xd572uclh] {
    outline: 2px solid var(--l-primary);
    outline-offset: 2px;
}

.selector-clear--inline[b-8xd572uclh] {
    margin-left: auto;
}

.selector-content[b-8xd572uclh] {
    flex: 1;
    min-height: min(42vh, 320px);
    overflow-y: auto;
    padding-right: 0.15rem;
}
/* /Components/Dialogs/AppointmentDeleteConfirmationDialog.razor.rz.scp.css */
/* Storno-Dialog — angelehnt an l-sch-editor / CalendarScheduleEditorFormFields */



:global(.appointment-delete-dialog.appointment-delete-dialog--compact.dialog-shell.e-dialog)[b-z2biy74f59] {
  max-height: calc(100dvh - var(--l-appbar-height, 56px) - (2 * var(--l-dialog-viewport-gap, 20px))) !important;
}

.appointment-delete-dialog--compact[b-z2biy74f59]  .e-dlg-content {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  overflow-y: auto;
}



.appointment-delete-dialog__content[b-z2biy74f59] {

  padding: 0.5rem 0.875rem 0.625rem;

  display: flex;

  flex-direction: column;

  gap: var(--l-space-sm, 0.5rem);

  min-width: 0;

}



.appointment-delete-dialog__intro[b-z2biy74f59] {

  margin: 0;

  font-size: 0.875rem;

  line-height: 1.4;

  color: var(--l-text-secondary);

}



/* Termin-Zusammenfassung (wie Patient-Chip im Termin-Editor) */

.appointment-delete-dialog__appointment-chip[b-z2biy74f59] {

  display: flex;

  align-items: center;

  gap: 0.625rem;

  padding: 0.5rem 0.65rem;

  border: 1px solid color-mix(in srgb, var(--l-primary) 18%, var(--l-border));

  border-radius: var(--l-radius-md);

  background: var(--l-bg-elevated);

}



.appointment-delete-dialog__appointment-chip-icon[b-z2biy74f59] {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 2.125rem;

  height: 2.125rem;

  border-radius: var(--l-radius-full);

  background: color-mix(in srgb, var(--l-primary) 12%, var(--l-bg-surface-alt, var(--l-bg-surface)));

  color: var(--l-primary);

  flex-shrink: 0;

}



.appointment-delete-dialog__appointment-chip-body[b-z2biy74f59] {

  display: flex;

  flex-direction: column;

  gap: 0.125rem;

  min-width: 0;

  flex: 1;

}



.appointment-delete-dialog__appointment-chip-title[b-z2biy74f59] {

  font-weight: 600;

  font-size: 0.875rem;

  color: var(--l-text);

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}



.appointment-delete-dialog__appointment-chip-meta[b-z2biy74f59] {

  font-size: 0.75rem;

  color: var(--l-text-secondary);

  line-height: 1.35;

}



.appointment-delete-dialog__waitlist-callout[b-z2biy74f59] {

  margin: 0;

}



.appointment-delete-dialog__waitlist-callout-text[b-z2biy74f59] {

  display: flex;

  flex-direction: column;

  gap: 0.15rem;

  min-width: 0;

}



.appointment-delete-dialog__waitlist-callout-text strong[b-z2biy74f59] {

  font-size: 0.8125rem;

  font-weight: 600;

}



.appointment-delete-dialog__waitlist-callout-text span[b-z2biy74f59] {

  font-size: 0.75rem;

  line-height: 1.35;

  color: var(--l-text-secondary);

}



/* Mehrfach-Storno */

.appointment-delete-dialog__field-card[b-z2biy74f59] {

  padding: var(--l-space-sm) var(--l-space-md);

  background-color: var(--l-bg-elevated);

  border: 1px solid var(--l-border-light);

  border-radius: var(--l-radius-md);

  box-shadow: 0 1px 2px color-mix(in srgb, var(--l-text) 4%, transparent);

}



.appointment-delete-dialog__label[b-z2biy74f59] {

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 0.35rem 0.5rem;

  margin-bottom: 0.35rem;

  font-size: 0.8125rem;

  font-weight: 600;

  color: var(--l-text);

}



.appointment-delete-dialog__label-hint[b-z2biy74f59] {

  font-weight: 400;

  color: var(--l-text-secondary);

  font-size: 0.75rem;

  flex: 1 1 100%;

}



.appointment-delete-dialog__legs-list[b-z2biy74f59] {

  list-style: none;

  margin: 0;

  padding: 0;

  max-height: 7rem;

  overflow-y: auto;

}



.appointment-delete-dialog__leg-item[b-z2biy74f59] {

  display: flex;

  flex-wrap: wrap;

  align-items: baseline;

  justify-content: space-between;

  gap: 0.25rem 0.5rem;

  padding: 0.3rem 0;

  border-bottom: 1px solid var(--l-border-light);

  font-size: 0.8125rem;

}



.appointment-delete-dialog__leg-item:last-child[b-z2biy74f59] {

  border-bottom: none;

  padding-bottom: 0;

}



.appointment-delete-dialog__leg-subject[b-z2biy74f59] {

  font-weight: 500;

  color: var(--l-text);

  min-width: 0;

}



.appointment-delete-dialog__leg-time[b-z2biy74f59] {

  color: var(--l-text-secondary);

  white-space: nowrap;

  font-size: 0.75rem;

}



.appointment-delete-dialog__loading[b-z2biy74f59] {

  text-align: center;

  padding: 0.5rem;

}



.appointment-delete-dialog__loading .spinner-border[b-z2biy74f59] {

  width: 1.25rem;

  height: 1.25rem;

}



.appointment-delete-dialog__loading p[b-z2biy74f59] {

  margin: 0.35rem 0 0;

  font-size: 0.8125rem;

  color: var(--l-text-secondary);

}



.appointment-delete-dialog__matches[b-z2biy74f59] {

  border: 1px solid color-mix(in srgb, var(--l-primary) 22%, var(--l-border-light));

  border-radius: var(--l-radius-md);

  padding: var(--l-space-sm) var(--l-space-md);

  background: linear-gradient(

    165deg,

    color-mix(in srgb, var(--l-primary) 5%, var(--l-bg-elevated)) 0%,

    var(--l-bg-elevated) 55%

  );

  box-shadow: 0 1px 2px color-mix(in srgb, var(--l-text) 4%, transparent);

}



.appointment-delete-dialog__matches-title[b-z2biy74f59] {

  display: flex;

  align-items: center;

  gap: 0.35rem;

  margin: 0 0 0.25rem;

  font-size: 0.8125rem;

  font-weight: 600;

  color: var(--l-text);

}



.appointment-delete-dialog__matches-info[b-z2biy74f59] {

  font-size: 0.75rem;

  line-height: 1.35;

  color: var(--l-text-secondary);

  margin: 0 0 0.35rem;

}



.appointment-delete-dialog__matches-list[b-z2biy74f59] {

  max-height: 6.5rem;

  overflow-y: auto;

}



.appointment-delete-dialog__match-item[b-z2biy74f59] {

  padding: 0.35rem 0;

  border-bottom: 1px solid var(--l-border-light);

}



.appointment-delete-dialog__match-item:last-child[b-z2biy74f59] {

  border-bottom: none;

}



.appointment-delete-dialog__match-lcheckbox.l-checkbox[b-z2biy74f59] {

  display: flex;

  align-items: flex-start;

  width: 100%;

  gap: 0.5rem;

}



.appointment-delete-dialog__match-lcheckbox .l-checkbox__indicator[b-z2biy74f59] {

  margin-top: 0.1rem;

}



.appointment-delete-dialog__match-body[b-z2biy74f59] {

  flex: 1;

  min-width: 0;

  color: var(--l-text);

}



.appointment-delete-dialog__match-name[b-z2biy74f59] {

  font-weight: 600;

  font-size: 0.8125rem;

  margin-bottom: 0.1rem;

}



.appointment-delete-dialog__match-therapy[b-z2biy74f59],

.appointment-delete-dialog__match-notes[b-z2biy74f59] {

  font-size: 0.75rem;

  color: var(--l-text-secondary);

  line-height: 1.3;

}



.appointment-delete-dialog__match-notes[b-z2biy74f59] {

  margin-top: 0.1rem;

  font-style: italic;

}



.appointment-delete-dialog__matches-actions[b-z2biy74f59] {

  margin-top: 0.35rem;

  padding-top: 0.35rem;

  border-top: 1px solid var(--l-border-light);

  display: flex;

  align-items: center;

  gap: 0.25rem;

  font-size: 0.75rem;

}



.appointment-delete-dialog__link-btn[b-z2biy74f59] {

  background: none;

  border: none;

  padding: 0;

  color: var(--l-primary);

  font-size: inherit;

  font-weight: 500;

  cursor: pointer;

  text-decoration: underline;

  text-underline-offset: 2px;

}



.appointment-delete-dialog__link-btn:hover[b-z2biy74f59] {

  color: var(--l-primary-hover, var(--l-primary));

}



.appointment-delete-dialog__actions-sep[b-z2biy74f59] {

  color: var(--l-text-secondary);

}



.appointment-delete-dialog__footer[b-z2biy74f59] {

  display: flex;

  justify-content: flex-end;

  gap: 0.5rem;

  padding: 0.35rem 0.5rem;

}



.appointment-delete-dialog--compact[b-z2biy74f59]  .cancellation-dropdown.e-control-wrapper,

.appointment-delete-dialog--compact[b-z2biy74f59]  .cancellation-dropdown.e-input-group {

  min-height: 2rem;

}



.appointment-delete-dialog--compact[b-z2biy74f59]  .e-input-group,

.appointment-delete-dialog--compact[b-z2biy74f59]  .e-control-wrapper.cancellation-dropdown {

  border-color: var(--l-border) !important;

  border-radius: var(--l-radius-md) !important;

  background: var(--l-bg-elevated) !important;

}


/* /Components/Dialogs/AppointmentRescheduleDialog.razor.rz.scp.css */
.reschedule-dialog__header[b-ndqcd6o5sh] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reschedule-dialog__header-icon[b-ndqcd6o5sh] {
    color: var(--l-primary);
}

.reschedule-dialog__content[b-ndqcd6o5sh] {
    padding: 20px;
}

.reschedule-dialog__intro[b-ndqcd6o5sh] {
    margin-bottom: 18px;
    font-size: 1rem;
}

.reschedule-dialog__card[b-ndqcd6o5sh] {
    background: var(--l-bg-elevated);
    border: 1px solid var(--l-border);
    border-radius: 10px;
    padding: 14px;
    color: var(--l-text);
    margin-bottom: 14px;
}

.reschedule-dialog__row[b-ndqcd6o5sh] {
    margin-bottom: 8px;
}

.reschedule-dialog__row:last-child[b-ndqcd6o5sh] {
    margin-bottom: 0;
}

.reschedule-dialog__row strong[b-ndqcd6o5sh] {
    color: var(--l-text-secondary);
}

.reschedule-dialog__time--before[b-ndqcd6o5sh] {
    color: var(--l-error);
}

.reschedule-dialog__time--after[b-ndqcd6o5sh] {
    color: var(--l-success);
}

.reschedule-dialog__label[b-ndqcd6o5sh] {
    color: var(--l-text);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.reschedule-dialog__custom-reason-wrap[b-ndqcd6o5sh] {
    margin-top: 10px;
}

.reschedule-dialog__custom-reason-input[b-ndqcd6o5sh],
.reschedule-dialog__note[b-ndqcd6o5sh] {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--l-border);
    background-color: var(--l-bg);
    color: var(--l-text);
    padding: 8px 10px;
}

.reschedule-dialog__custom-reason-input[b-ndqcd6o5sh]::placeholder,
.reschedule-dialog__note[b-ndqcd6o5sh]::placeholder {
    color: var(--l-text-secondary);
}

.reschedule-dialog__custom-reason-input:focus[b-ndqcd6o5sh],
.reschedule-dialog__note:focus[b-ndqcd6o5sh] {
    outline: none;
    border-color: var(--l-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--l-primary) 24%, transparent);
}

.reschedule-dialog__note[b-ndqcd6o5sh] {
    min-height: 72px;
    resize: vertical;
}

.reschedule-dialog__footer[b-ndqcd6o5sh] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px;
}
/* /Components/Dialogs/ChangeHistoryDialog.razor.rz.scp.css */
.change-history-dialog .e-dlg-header-content[b-pc4v9lm192] {
    border-bottom: 1px solid var(--l-border-light);
}

.change-history-header[b-pc4v9lm192] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.change-history-header__subtitle[b-pc4v9lm192] {
    color: var(--l-text-secondary);
}

.change-history-content[b-pc4v9lm192] {
    padding: 8px 0;
}

.ch-timeline[b-pc4v9lm192] {
    padding: 0 4px;
}

.ch-entry[b-pc4v9lm192] {
    display: flex;
    gap: 12px;
    position: relative;
    padding-bottom: 20px;
}

.ch-entry:last-child .ch-line[b-pc4v9lm192] {
    display: none;
}

.ch-dot-line[b-pc4v9lm192] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28px;
    flex-shrink: 0;
}

.ch-icon[b-pc4v9lm192] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--l-info);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ch-icon svg[b-pc4v9lm192] {
    color: var(--l-text-on-primary);
}

.ch-loading-icon[b-pc4v9lm192] {
    animation: ch-spin-b-pc4v9lm192 1s linear infinite;
}

.ch-line[b-pc4v9lm192] {
    width: 2px;
    flex: 1;
    background: var(--l-border);
    margin-top: 6px;
}

.ch-content[b-pc4v9lm192] {
    flex: 1;
    min-width: 0;
}

.ch-timestamp[b-pc4v9lm192] {
    font-size: 11px;
    color: var(--l-text-muted);
    margin-bottom: 2px;
}

.ch-user-row[b-pc4v9lm192] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.ch-avatar[b-pc4v9lm192] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--l-text-secondary);
    color: var(--l-text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.ch-user[b-pc4v9lm192] {
    font-size: 14px;
    font-weight: 600;
    color: var(--l-text);
    text-transform: capitalize;
}

.ch-detail[b-pc4v9lm192] {
    font-size: 12px;
    color: var(--l-text-secondary);
    line-height: 1.4;
}

.ch-detail .val-old[b-pc4v9lm192] {
    text-decoration: line-through;
    color: var(--l-error);
    background: var(--l-error-bg);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}

.ch-detail .val-new[b-pc4v9lm192] {
    color: var(--l-success);
    background: var(--l-success-bg);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}

.ch-loading[b-pc4v9lm192] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 60px 0;
    color: var(--l-text-muted);
    font-size: 13px;
}

.ch-empty[b-pc4v9lm192] {
    text-align: center;
    color: var(--l-text-muted);
    padding: 60px 0;
    font-size: 13px;
}

.change-history-footer[b-pc4v9lm192] {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem;
}

@keyframes ch-spin-b-pc4v9lm192 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* /Components/Dialogs/CreateEmployeeDialog.razor.rz.scp.css */
.dialog-overlay[b-wnya2nsrsb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-container[b-wnya2nsrsb] {
    background: var(--l-bg-elevated);
    border-radius: var(--l-radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--l-shadow-lg);
}

.dialog-header[b-wnya2nsrsb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--l-space-lg);
    border-bottom: 1px solid var(--l-border);
}

.dialog-header h3[b-wnya2nsrsb] {
    margin: 0;
    color: var(--l-text);
}

.btn-close[b-wnya2nsrsb] {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--l-text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--l-radius-sm);
}

.btn-close:hover[b-wnya2nsrsb] {
    background: var(--l-bg-hover);
    color: var(--l-text);
}

.dialog-body[b-wnya2nsrsb] {
    padding: var(--l-space-lg);
}

.form-group[b-wnya2nsrsb] {
    margin-bottom: var(--l-space-md);
}

.form-group label[b-wnya2nsrsb] {
    display: block;
    margin-bottom: var(--l-space-xs);
    font-weight: 500;
    color: var(--l-text);
}

.form-control[b-wnya2nsrsb] {
    width: 100%;
    padding: var(--l-space-sm) var(--l-space-md);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    background: var(--l-bg-elevated);
    color: var(--l-text);
    font-size: var(--l-text-base);
}

.form-control:focus[b-wnya2nsrsb] {
    outline: none;
    border-color: var(--l-primary);
    box-shadow: 0 0 0 2px rgba(0, 32, 25, 0.1);
}

.department-list[b-wnya2nsrsb] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    padding: var(--l-space-sm);
    background: var(--l-bg-surface);
}

.form-check[b-wnya2nsrsb] {
    margin-bottom: var(--l-space-xs);
}

.form-check-input[b-wnya2nsrsb] {
    margin-right: var(--l-space-sm);
}

.form-check-label[b-wnya2nsrsb] {
    color: var(--l-text);
}

.dialog-actions[b-wnya2nsrsb] {
    display: flex;
    justify-content: flex-end;
    gap: var(--l-space-sm);
    margin-top: var(--l-space-lg);
    padding-top: var(--l-space-lg);
    border-top: 1px solid var(--l-border);
}

.btn[b-wnya2nsrsb] {
    padding: var(--l-space-sm) var(--l-space-lg);
    border-radius: var(--l-radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--l-transition-fast);
}

.btn:disabled[b-wnya2nsrsb] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary[b-wnya2nsrsb] {
    background: var(--l-primary);
    color: var(--l-text-on-primary);
}

.btn-primary:hover:not(:disabled)[b-wnya2nsrsb] {
    background: var(--l-primary-hover);
}

.btn-secondary[b-wnya2nsrsb] {
    background: var(--l-bg-surface);
    color: var(--l-text);
    border: 1px solid var(--l-border);
}

.btn-secondary:hover[b-wnya2nsrsb] {
    background: var(--l-bg-hover);
}

.spinner-border[b-wnya2nsrsb] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin-b-wnya2nsrsb 0.75s linear infinite;
}

@keyframes spin-b-wnya2nsrsb {
    to { transform: rotate(360deg); }
}
/* /Components/Dialogs/EmployeeWorkingHoursDialog.razor.rz.scp.css */
.employee-wh-version-bar__row[b-jhj9h1ihth] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.employee-wh-version-bar__label[b-jhj9h1ihth] {
    flex: 0 0 auto;
    min-width: 3.25rem;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--l-text-muted, var(--l-text-secondary));
}

.employee-wh-version-bar__control[b-jhj9h1ihth] {
    flex: 1 1 16rem;
    max-width: 28rem;
    min-width: 0;
}

.employee-wh-version-bar__value[b-jhj9h1ihth] {
    display: block;
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--l-text-secondary);
}

.employee-wh-version-bar__hint[b-jhj9h1ihth] {
    flex: 1 1 100%;
    padding-left: calc(3.25rem + 0.75rem);
}

/* Syncfusion-Dropdown: kein Extra-Margin, vertikal zur Label-Zeile zentriert */
.employee-wh-version-bar__control[b-jhj9h1ihth]  .e-input-group,
.employee-wh-version-bar__control[b-jhj9h1ihth]  .e-ddl {
    margin-bottom: 0;
}

.employee-wh-version-bar__control[b-jhj9h1ihth]  .e-input-group.e-control-wrapper {
    vertical-align: middle;
}
/* /Components/Dialogs/Patient/PatientQuickCreateDialog.razor.rz.scp.css */
/* Schnellanlage — gleiche Form-Sprache wie CalendarScheduleEditorFormFields (lokal, da Editor-CSS scoped ist) */

.patient-quick-create-dialog.e-dialog .e-dlg-content[b-v6jvge8qtl] {
    padding: 0.65rem 1rem 1rem;
}

.patient-quick-create-dialog__form.l-sch-editor[b-v6jvge8qtl] {
    display: flex;
    flex-direction: column;
    gap: var(--l-space-md);
    min-width: 0;
    font-family: var(--l-font-sans);
}

.patient-quick-create-dialog__search-banner[b-v6jvge8qtl] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--l-radius-md);
    border: 1px solid color-mix(in srgb, var(--l-primary) 22%, var(--l-border-light));
    background: color-mix(in srgb, var(--l-primary) 6%, var(--l-bg-elevated));
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--l-text-secondary);
}

.patient-quick-create-dialog__search-banner strong[b-v6jvge8qtl] {
    color: var(--l-text-primary, var(--l-text));
    font-weight: 600;
}

.patient-quick-create-dialog__search-banner-icon[b-v6jvge8qtl] {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--l-primary);
}

.patient-quick-create-dialog__panel.l-sch-editor__panel[b-v6jvge8qtl] {
    display: flex;
    flex-direction: column;
    gap: var(--l-space-md);
    padding: var(--l-space-md);
    border-radius: var(--l-radius-lg);
    border: 1px solid var(--l-border-light);
    background: var(--l-bg-elevated);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--l-text) 4%, transparent);
}

.patient-quick-create-dialog__panel .l-sch-editor__panel-head[b-v6jvge8qtl] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.patient-quick-create-dialog__panel .l-sch-editor__panel-title[b-v6jvge8qtl] {
    font-size: var(--l-text-base, 0.9375rem);
    font-weight: 600;
    color: var(--l-text-primary, var(--l-text));
    letter-spacing: -0.01em;
}

.patient-quick-create-dialog__panel .l-sch-editor__panel-hint[b-v6jvge8qtl] {
    font-size: 0.8125rem;
    color: var(--l-text-secondary);
    line-height: 1.35;
}

.patient-quick-create-dialog__panel .l-sch-editor__divider[b-v6jvge8qtl] {
    height: 1px;
    margin: 0;
    background: var(--l-border-light);
    border: none;
}

.patient-quick-create-dialog__panel .l-sch-editor__group-label[b-v6jvge8qtl] {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--l-text-secondary);
}

.patient-quick-create-dialog__panel .l-sch-editor__field[b-v6jvge8qtl] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 0;
}

.patient-quick-create-dialog__panel .l-sch-editor__row[b-v6jvge8qtl] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--l-space-md);
    width: 100%;
}

.patient-quick-create-dialog__panel .l-sch-editor__row--grid-2[b-v6jvge8qtl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--l-space-md);
    align-items: end;
}

.patient-quick-create-dialog__panel .l-field-label[b-v6jvge8qtl] {
    font-size: var(--l-text-sm, 0.8125rem);
    font-weight: 500;
    color: var(--l-text-secondary);
    margin: 0;
}

.patient-quick-create-dialog__panel .l-field-label--required[b-v6jvge8qtl]::after {
    content: " *";
    color: color-mix(in srgb, var(--l-danger, #b42318) 85%, var(--l-text));
    font-weight: 600;
}

.patient-quick-create-dialog__panel .l-field-control[b-v6jvge8qtl] {
    min-width: 0;
}

.patient-quick-create-dialog__panel[b-v6jvge8qtl] (.l-field-input),
.patient-quick-create-dialog__panel[b-v6jvge8qtl] (.e-control-wrapper) {
    width: 100%;
}

@media (max-width: 420px) {
    .patient-quick-create-dialog__panel .l-sch-editor__row--grid-2[b-v6jvge8qtl] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Dialogs/WorkingHoursInteractiveTimeline.razor.rz.scp.css */
.tp-wh-editor[b-1rm4o4xofv] {
    --wh-track-height: 2.65rem;
    --wh-track-mini-height: 1.1rem;
    font-family: var(--l-font-sans);
    border-radius: 1rem;
    padding: 0.75rem 1rem 0.85rem;
    background: var(--l-bg-elevated, var(--l-bg));
    border: 1px solid var(--l-border-light);
}

.tp-wh-editor__presets[b-1rm4o4xofv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    min-height: 1.75rem;
}

.tp-wh-editor__presets-day[b-1rm4o4xofv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: var(--l-primary);
    color: var(--l-text-on-primary, white);
    font-size: 0.74rem;
    font-weight: 700;
}

.tp-wh-editor__presets-day--week[b-1rm4o4xofv] {
    background: transparent;
    color: var(--l-text-secondary);
    border: 1px solid var(--l-border-light);
    font-weight: 600;
}

.tp-wh-editor__preset[b-1rm4o4xofv] {
    border: 1px solid color-mix(in srgb, var(--l-primary) 30%, var(--l-border));
    background: var(--l-bg);
    color: var(--l-primary);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.tp-wh-editor__preset:hover[b-1rm4o4xofv] {
    background: var(--l-primary-soft);
}

.tp-wh-editor__preset--muted[b-1rm4o4xofv] {
    color: var(--l-text-secondary);
    border-color: var(--l-border-light);
}

.tp-wh-editor__rows[b-1rm4o4xofv] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    touch-action: none;
}

.tp-wh-editor__row[b-1rm4o4xofv] {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.65rem;
    align-items: center;
    border-radius: 0.75rem;
    padding: 0.15rem;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.tp-wh-editor__row--fill-target[b-1rm4o4xofv] {
    background: color-mix(in srgb, var(--l-primary) 8%, transparent);
}

.tp-wh-editor__day[b-1rm4o4xofv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--l-bg-surface-alt, var(--l-bg));
    color: var(--l-text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.tp-wh-editor__day--selected[b-1rm4o4xofv] {
    background: var(--l-primary);
    color: var(--l-text-on-primary, white);
    border-color: var(--l-primary);
}

.tp-wh-editor__track[b-1rm4o4xofv] {
    position: relative;
    height: var(--wh-track-height);
    border-radius: 999px;
    border: 1px solid var(--l-border-light);
    background: var(--l-bg);
    cursor: pointer;
    touch-action: none;
    user-select: none;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tp-wh-editor__grid[b-1rm4o4xofv] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.tp-wh-editor__grid-line[b-1rm4o4xofv] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px dashed color-mix(in srgb, var(--l-text-secondary) 28%, transparent);
    transform: translateX(-50%);
}

.tp-wh-editor__grid-line:first-child[b-1rm4o4xofv],
.tp-wh-editor__grid-line:last-child[b-1rm4o4xofv] {
    border-left-style: solid;
    border-left-color: color-mix(in srgb, var(--l-text-secondary) 18%, transparent);
}


.tp-wh-editor__block[b-1rm4o4xofv] {
    position: absolute;
    top: 3px;
    bottom: 3px;
    min-width: 2.5rem;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--l-primary) 70%, white), var(--l-primary));
    box-shadow: 0 1px 4px color-mix(in srgb, var(--l-primary) 30%, transparent);
    color: var(--l-text-on-primary, white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: grab;
    touch-action: none;
    overflow: hidden;
    z-index: 1;
}

.tp-wh-editor__block--department[b-1rm4o4xofv] {
    color: var(--l-text-on-primary, white);
}

.tp-wh-editor__block:active[b-1rm4o4xofv] {
    cursor: grabbing;
}

.tp-wh-editor__rows--dragging-block[b-1rm4o4xofv],
.tp-wh-editor__rows--dragging-block *[b-1rm4o4xofv] {
    cursor: grabbing !important;
}

.tp-wh-editor__rows--dragging-resize[b-1rm4o4xofv],
.tp-wh-editor__rows--dragging-resize *[b-1rm4o4xofv] {
    cursor: ew-resize !important;
}

.tp-wh-editor__rows--fill-copy[b-1rm4o4xofv],
.tp-wh-editor__rows--fill-copy *[b-1rm4o4xofv] {
    cursor: ns-resize !important;
}

.tp-wh-editor__rows--dragging-create[b-1rm4o4xofv],
.tp-wh-editor__rows--dragging-create *[b-1rm4o4xofv] {
    cursor: pointer !important;
}

.tp-wh-editor__block--selected[b-1rm4o4xofv] {
    outline: 2px solid color-mix(in srgb, white 80%, var(--l-primary));
    outline-offset: 1px;
    box-shadow: 0 0 0 2px var(--l-primary-soft-strong, var(--l-primary-soft));
    z-index: 3;
}

.tp-wh-editor__block--editing-time[b-1rm4o4xofv] {
    min-width: 9.5rem;
    top: 2px;
    bottom: 2px;
    padding: 0 1rem 0 0.3rem;
    overflow: visible;
    align-items: center;
    justify-content: center;
}

.tp-wh-editor__block-label[b-1rm4o4xofv] {
    pointer-events: none;
    white-space: nowrap;
}

.tp-wh-editor__block-times[b-1rm4o4xofv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    flex: 0 0 auto;
    min-width: 0;
    max-height: 100%;
    pointer-events: auto;
}

.tp-wh-editor__block-time[b-1rm4o4xofv] {
    flex: 0 0 auto;
    width: 3.5rem;
    min-width: 3.5rem;
    height: 1.5rem;
    min-height: 1.5rem;
    border: none;
    border-radius: 0.3rem;
    background: color-mix(in srgb, white 30%, transparent);
    color: inherit;
    font-family: inherit;
    font-size: var(--l-text-xs);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    padding: 0 0.2rem;
    text-align: center;
    cursor: text;
    box-sizing: border-box;
    font-variant-numeric: tabular-nums;
}

.tp-wh-editor__block-time[b-1rm4o4xofv]::placeholder {
    color: color-mix(in srgb, currentColor 55%, transparent);
    font-weight: 500;
}

.tp-wh-editor__block-time:focus[b-1rm4o4xofv] {
    outline: 1px solid color-mix(in srgb, white 70%, transparent);
    background: color-mix(in srgb, white 44%, transparent);
}

.tp-wh-editor__block-time-sep[b-1rm4o4xofv] {
    flex: 0 0 auto;
    font-family: inherit;
    font-size: var(--l-text-xs);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    opacity: 0.9;
    pointer-events: none;
}

.tp-wh-editor__block--missing-department[b-1rm4o4xofv] {
    outline: 2px solid var(--l-warning, #f59e0b);
    outline-offset: 1px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--l-warning, #f59e0b) 25%, transparent);
    animation: tp-wh-missing-department-pulse-b-1rm4o4xofv 1.4s ease-in-out infinite;
}

@keyframes tp-wh-missing-department-pulse-b-1rm4o4xofv {
    0%, 100% {
        outline-color: var(--l-warning, #f59e0b);
    }
    50% {
        outline-color: color-mix(in srgb, var(--l-warning, #f59e0b) 55%, white);
    }
}

.tp-wh-editor__detail .tp-input--validation-error.e-input-group[b-1rm4o4xofv],
.tp-wh-editor__detail .tp-input--validation-error.e-input-group .e-input[b-1rm4o4xofv] {
    border-color: var(--l-warning, #f59e0b) !important;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--l-warning, #f59e0b) 35%, transparent);
}

.tp-wh-editor__block--preview[b-1rm4o4xofv] {
    background: color-mix(in srgb, var(--l-primary) 35%, transparent);
    border: 2px dashed color-mix(in srgb, var(--l-primary) 70%, white);
    box-shadow: none;
    color: var(--l-primary);
    cursor: default;
    pointer-events: none;
    z-index: 2;
}

.tp-wh-editor__fill-handle[b-1rm4o4xofv] {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 0.5rem;
    height: 0.5rem;
    border: 1.5px solid color-mix(in srgb, white 88%, transparent);
    border-radius: 1px;
    background: color-mix(in srgb, white 28%, transparent);
    cursor: crosshair;
    touch-action: none;
    z-index: 6;
    opacity: 0;
    box-shadow: 0 0 0 1px color-mix(in srgb, black 18%, transparent);
    transition: opacity 0.12s ease, background-color 0.12s ease;
}

.tp-wh-editor__block:hover .tp-wh-editor__fill-handle[b-1rm4o4xofv],
.tp-wh-editor__fill-handle--active[b-1rm4o4xofv] {
    opacity: 1;
}

.tp-wh-editor__fill-handle:hover[b-1rm4o4xofv] {
    background: var(--l-primary-soft, #e8f0ec);
    border-color: var(--l-primary);
}

.tp-wh-editor__handle[b-1rm4o4xofv] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: ew-resize;
    touch-action: none;
}

.tp-wh-editor__handle--start[b-1rm4o4xofv] {
    left: 0;
    border-radius: 999px 0 0 999px;
}

.tp-wh-editor__handle--end[b-1rm4o4xofv] {
    right: 0;
    border-radius: 0 999px 999px 0;
}

.tp-wh-editor__delete[b-1rm4o4xofv] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 1rem;
    height: 1rem;
    border: none;
    border-radius: 999px;
    background: color-mix(in srgb, black 22%, transparent);
    color: white;
    font-size: 0.65rem;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.tp-wh-editor__block:hover .tp-wh-editor__delete[b-1rm4o4xofv],
.tp-wh-editor__block--selected .tp-wh-editor__delete[b-1rm4o4xofv] {
    opacity: 1;
}

.tp-wh-editor__scale[b-1rm4o4xofv] {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.45rem;
    padding: 0 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--l-text-secondary);
}

.tp-wh-editor__scale-track[b-1rm4o4xofv] {
    position: relative;
    height: 1rem;
}

.tp-wh-editor__scale-tick[b-1rm4o4xofv] {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.tp-wh-editor__detail[b-1rm4o4xofv] {
    margin-top: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--l-border-light);
    background: var(--l-bg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.tp-wh-editor__detail-label[b-1rm4o4xofv] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--l-text-secondary);
}

.tp-wh-editor__row--locked[b-1rm4o4xofv] {
    opacity: 0.72;
}

.tp-wh-editor__day--locked[b-1rm4o4xofv] {
    cursor: not-allowed;
    color: var(--l-text-muted, var(--l-text-secondary));
    background: var(--l-bg-surface-alt, var(--l-bg));
    border-color: var(--l-border-light);
}

.tp-wh-editor__track--locked[b-1rm4o4xofv] {
    cursor: not-allowed;
    background: var(--l-bg-surface-alt, var(--l-bg));
    border-style: dashed;
    pointer-events: none;
}

.tp-wh-editor--readonly .tp-wh-editor__track[b-1rm4o4xofv] {
    cursor: default;
    height: var(--wh-track-mini-height);
}

.tp-wh-editor--readonly .tp-wh-editor__block[b-1rm4o4xofv] {
    cursor: default;
    font-size: 0;
    min-width: 0.35rem;
    top: 2px;
    bottom: 2px;
}

.tp-wh-editor--readonly .tp-wh-editor__day[b-1rm4o4xofv] {
    cursor: default;
}
/* /Components/GlobalSearch/GlobalSearch.razor.rz.scp.css */
/* GlobalSearch ist jetzt ein Wrapper um PersonSearch */
.global-search-container[b-0r753r2a7z] {
    position: relative;
    width: 300px;
}
/* /Components/Lists/ListToolbar.razor.rz.scp.css */
/* ─── ListToolbar – Einheitliches Layout für alle Listenseiten ─── */

.list-toolbar[b-fp1uhzzq6h] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: var(--l-space-sm) var(--l-space-md);
  margin-bottom: var(--l-space-md);
  background: var(--l-bg-elevated);
  border: 1px solid var(--l-border-light);
  border-radius: var(--l-radius-md);
  gap: var(--l-space-sm);
  flex-wrap: wrap;
}

/* ─── Linker Bereich: Titel, Filter, Buttons ─── */
.list-toolbar-content[b-fp1uhzzq6h] {
  display: flex;
  align-items: center;
  gap: var(--l-space-sm);
  flex-wrap: wrap;
  min-height: 36px;
}

/* Einheitliche Titel-Größe in allen Toolbars */
.list-toolbar-content[b-fp1uhzzq6h]  h5,
.list-toolbar-content[b-fp1uhzzq6h]  .toolbar-title {
  margin: 0;
  padding-right: var(--l-space-xs);
  font-size: 1rem;
  font-weight: 600;
  line-height: 36px;
  color: var(--l-text);
  white-space: nowrap;
}

/* Einheitliche Höhe für alle Syncfusion-Controls */
.list-toolbar-content[b-fp1uhzzq6h]  .e-input-group,
.list-toolbar-content[b-fp1uhzzq6h]  .e-ddl,
.list-toolbar-content[b-fp1uhzzq6h]  .e-btn,
.list-toolbar-content[b-fp1uhzzq6h]  .e-control {
  height: 36px;
  font-size: 0.875rem;
}

/* ─── Rechter Bereich: Status-Anzeige ─── */
.list-toolbar-status[b-fp1uhzzq6h] {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.status-text[b-fp1uhzzq6h] {
  font-size: 0.875rem;
  color: var(--l-text-secondary);
  white-space: nowrap;
  line-height: 36px;
}

.status-error[b-fp1uhzzq6h] {
  color: var(--l-error);
}
/* /Components/OrganSystemSelector.razor.rz.scp.css */
.organ-system-selector[b-ddwo07j68b] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.organ-categories[b-ddwo07j68b] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.organ-category[b-ddwo07j68b] {
    background: var(--l-bg-surface);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-md);
    padding: 0.85rem 1rem;
}

.category-title[b-ddwo07j68b] {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--l-text);
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.organ-grid[b-ddwo07j68b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 0.5rem;
}

.organ-button[b-ddwo07j68b] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.4rem;
    background: var(--l-bg-elevated);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    font-size: 0.78rem;
    color: var(--l-text);
    min-height: 76px;
}

.organ-button:hover[b-ddwo07j68b] {
    border-color: var(--l-primary);
    background: var(--l-primary-soft);
}

.organ-button.selected[b-ddwo07j68b] {
    border-color: var(--l-primary);
    background: color-mix(in srgb, var(--l-primary) 22%, var(--l-bg-elevated));
    color: var(--l-primary);
    font-weight: 600;
}

.organ-button:focus-visible[b-ddwo07j68b] {
    outline: 2px solid var(--l-primary);
    outline-offset: 2px;
}

.organ-button-icon[b-ddwo07j68b] {
    color: var(--l-primary);
}

.organ-button.selected .organ-button-icon[b-ddwo07j68b] {
    color: var(--l-primary);
}

.selected-organ-info[b-ddwo07j68b] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
}

.organ-selection-chip[b-ddwo07j68b] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: var(--l-radius-sm);
    background: var(--l-primary-soft);
    color: var(--l-primary);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--l-primary) 35%, transparent);
}

.organ-count[b-ddwo07j68b] {
    font-size: 0.72rem;
    color: var(--l-text-secondary);
}

@media (max-width: 768px) {
    .organ-grid[b-ddwo07j68b] {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }

    .organ-button[b-ddwo07j68b] {
        min-height: 72px;
    }
}
/* /Components/PatientDashboard/AppointmentMultiCancelMenuDialogHost.razor.rz.scp.css */
.episode-multi-cancel-menu__choices[b-faicjypgvz] {
    display: grid;
    gap: 0.5rem;
}

.episode-multi-cancel-menu__choice[b-faicjypgvz] {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
}

.episode-multi-cancel-menu__preview[b-faicjypgvz] {
    margin: 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border, var(--l-border-light));
    border-radius: var(--l-radius-sm, 6px);
    background: var(--color-bg-darker, #f8fafc);
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--color-text-secondary);
}
/* /Components/PatientDashboard/RecipeAppointmentLinkPanel.razor.rz.scp.css */
.recipe-appointment-link-panel__auto-hint[b-wvmoeor1wj] {
    margin: 0.35rem 0 0.5rem;
}

.recipe-appointment-link-panel__assign[b-wvmoeor1wj] {
    margin-top: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-top: 1px solid var(--l-border-light);
    padding-top: 0.65rem;
}

.recipe-appointment-link-panel__accordion[b-wvmoeor1wj] {
    border: 1px solid var(--l-border-light);
    border-radius: var(--l-radius-sm, 4px);
    overflow: hidden;
    background: var(--l-bg-elevated, #fff);
}

.recipe-appointment-link-panel__accordion-head[b-wvmoeor1wj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: none;
    background: var(--l-bg-subtle, #fafafa);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.recipe-appointment-link-panel__accordion-head:hover[b-wvmoeor1wj] {
    background: var(--l-bg-hover, #f5f5f5);
}

.recipe-appointment-link-panel__accordion-icon[b-wvmoeor1wj] {
    font-size: 0.85em;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.recipe-appointment-link-panel__accordion-head.is-expanded .recipe-appointment-link-panel__accordion-icon[b-wvmoeor1wj] {
    transform: rotate(90deg);
}

.recipe-appointment-link-panel__accordion-count[b-wvmoeor1wj] {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--l-text-secondary);
}

.recipe-appointment-link-panel__accordion-body[b-wvmoeor1wj] {
    padding: 0.35rem 0.45rem 0.5rem;
    border-top: 1px solid var(--l-border-light);
}

.recipe-appointment-link-panel__candidate-list[b-wvmoeor1wj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
}

.recipe-appointment-link-panel__candidate[b-wvmoeor1wj] {
    display: grid;
    grid-template-columns: minmax(9.75rem, auto) minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.45rem;
    border-radius: var(--l-radius-sm, 4px);
    font-size: 0.8125rem;
}

.recipe-appointment-link-panel__candidate:hover[b-wvmoeor1wj] {
    background: var(--l-bg-hover, #f5f5f5);
}

.recipe-appointment-link-panel__candidate.is-disabled[b-wvmoeor1wj] {
    opacity: 0.55;
}

.recipe-appointment-link-panel__candidate-date[b-wvmoeor1wj] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
}

.recipe-appointment-link-panel__candidate-meta[b-wvmoeor1wj] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.recipe-appointment-link-panel__candidate-status[b-wvmoeor1wj] {
    white-space: nowrap;
    flex-shrink: 0;
}

.recipe-appointment-link-panel__add-btn[b-wvmoeor1wj] {
    border: none;
    background: transparent;
    color: var(--l-primary, #2563eb);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    white-space: nowrap;
    cursor: pointer;
}

.recipe-appointment-link-panel__add-btn:hover:not(:disabled)[b-wvmoeor1wj] {
    text-decoration: underline;
}

.recipe-appointment-link-panel__add-btn:disabled[b-wvmoeor1wj] {
    opacity: 0.45;
    cursor: not-allowed;
}

.recipe-appointment-link-panel__pager[b-wvmoeor1wj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.recipe-appointment-link-panel__loading[b-wvmoeor1wj] {
    padding: 0.35rem 0;
}

.recipe-appointment-status__action.is-active[b-wvmoeor1wj] {
    border-color: var(--l-primary, #2563eb);
    color: var(--l-primary, #2563eb);
    background: color-mix(in srgb, var(--l-primary) 8%, var(--l-bg-elevated));
}

.recipe-appointment-status__table tbody tr.is-recently-linked[b-wvmoeor1wj] {
    background: color-mix(in srgb, var(--l-primary, #2563eb) 7%, var(--l-bg-elevated, #fff));
}

.recipe-appointment-status__table tbody tr.is-recently-linked td:first-child[b-wvmoeor1wj] {
    box-shadow: inset 3px 0 0 var(--l-primary, #2563eb);
}
/* /Components/PatientDashboard/SectionCard.razor.rz.scp.css */
.section-card[b-6jagawjxsf] {
    border: 1px solid var(--l-border-light);
    border-radius: var(--l-radius-sm);
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.section-card:last-child[b-6jagawjxsf] {
    margin-bottom: 0;
}

.section-card__title[b-6jagawjxsf] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--l-text);
    margin-bottom: 0.5rem;
}

.section-card__content[b-6jagawjxsf] {
    font-size: 0.8125rem;
    color: var(--l-text-secondary);
}
/* /Components/PatientMasterData/PatientCrmEditor.razor.rz.scp.css */
.patient-crm-editor[b-ohw1jh502w] {
  display: block;
}

.patient-crm-editor__main[b-ohw1jh502w] {
  display: grid;
  gap: var(--l-space-lg);
}

.patient-crm-editor__section-card[b-ohw1jh502w] {
  border: 1px solid var(--l-border);
  box-shadow: var(--l-shadow-sm);
  border-radius: var(--l-radius-md);
  background: var(--l-bg-elevated);
  padding: var(--l-space-lg);
}

.patient-crm-editor__section[b-ohw1jh502w] {
  scroll-margin-top: var(--l-space-lg);
}

.patient-crm-editor__section-header[b-ohw1jh502w] {
  display: flex;
  justify-content: space-between;
  gap: var(--l-space-md);
  align-items: start;
}

.patient-crm-editor__section-title[b-ohw1jh502w] {
  font-size: var(--l-text-lg);
  font-weight: 600;
  color: var(--l-text);
}

.patient-crm-editor__section-copy[b-ohw1jh502w] {
  color: var(--l-text-secondary);
  font-size: var(--l-text-sm);
  margin-top: var(--l-space-xs);
}

.patient-crm-editor__cluster[b-ohw1jh502w] {
  display: grid;
  gap: var(--l-space-md);
  padding-top: var(--l-space-md);
  margin-top: var(--l-space-md);
  border-top: 1px solid var(--l-border-light);
}

.patient-crm-editor__cluster:first-child[b-ohw1jh502w] {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.patient-crm-editor__cluster-title[b-ohw1jh502w] {
  font-size: var(--l-text-sm);
  font-weight: 600;
  color: var(--l-text);
}

.patient-crm-editor__stammkunde-row[b-ohw1jh502w] {
  margin-bottom: var(--l-space-md);
}

.patient-crm-editor__grid[b-ohw1jh502w] {
  display: grid;
  gap: var(--l-space-md);
}

.patient-crm-editor__grid--three[b-ohw1jh502w] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* PLZ schmal, Stadt und Land gleich breit */
.patient-crm-editor__grid--address[b-ohw1jh502w] {
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr) minmax(0, 1fr);
}

.patient-crm-editor__field[b-ohw1jh502w] {
  display: grid;
  gap: var(--l-space-xs);
}

.patient-crm-editor__field--span-2[b-ohw1jh502w] {
  grid-column: span 2;
}

.patient-crm-editor__field--span-3[b-ohw1jh502w] {
  grid-column: span 3;
}

.patient-crm-editor__field--checkbox[b-ohw1jh502w],
.patient-crm-editor__field--checkbox-group[b-ohw1jh502w] {
  align-content: center;
}

.patient-crm-editor__checkbox-row[b-ohw1jh502w] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--l-space-md);
}

.patient-crm-editor__consent-list[b-ohw1jh502w] {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-sm);
}

.patient-crm-editor__consent-row[b-ohw1jh502w] {
  display: flex;
  align-items: center;
  gap: var(--l-space-xs);
  min-height: 28px;
}

.patient-crm-editor__consent-checkbox.l-checkbox[b-ohw1jh502w] {
  margin: 0;
}

.patient-crm-editor__treatment-agreements-grid[b-ohw1jh502w] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  gap: var(--l-space-lg);
  align-items: start;
}

.patient-crm-editor__treatment-agreements-main[b-ohw1jh502w],
.patient-crm-editor__treatment-agreements-checkin[b-ohw1jh502w] {
  display: grid;
  gap: var(--l-space-md);
  min-width: 0;
}

.patient-crm-editor__treatment-agreements-checkin[b-ohw1jh502w] {
  padding-left: var(--l-space-lg);
  border-left: 1px solid var(--l-border-light);
}

.patient-crm-editor__phone-input[b-ohw1jh502w] {
  display: block;
  min-width: 0;
}

.patient-crm-editor__field--checkbox-group[b-ohw1jh502w] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--l-space-lg);
}

.patient-crm-editor__hint[b-ohw1jh502w] {
  color: var(--l-text-secondary);
  font-size: var(--l-text-xs);
}

.patient-crm-editor__hint--error[b-ohw1jh502w] {
  color: var(--l-error);
}

@media (max-width: 820px) {
  .patient-crm-editor__grid--three[b-ohw1jh502w] {
    grid-template-columns: 1fr;
  }

  .patient-crm-editor__grid--address[b-ohw1jh502w] {
    grid-template-columns: 1fr;
  }

  .patient-crm-editor__field--span-2[b-ohw1jh502w],
  .patient-crm-editor__field--span-3[b-ohw1jh502w] {
    grid-column: auto;
  }

  .patient-crm-editor__treatment-agreements-grid[b-ohw1jh502w] {
    grid-template-columns: 1fr;
  }

  .patient-crm-editor__treatment-agreements-checkin[b-ohw1jh502w] {
    padding-left: 0;
    border-left: 0;
    padding-top: var(--l-space-md);
    border-top: 1px solid var(--l-border-light);
  }
}
/* /Components/ProcessWizard/ProcessWizard.razor.rz.scp.css */
/* /Components/ProcessWizard/ProcessWizardStepPatient.razor.rz.scp.css */
/* ProcessWizardStepPatient nutzt PatientSearchPicker / PersonSearch */

.patient-search-container[b-kgia5md41n] {
    position: relative;
    margin-bottom: 1rem;
    z-index: 100;
    /* Platz für absolut positioniertes Such-Dropdown (ohne overflow:visible am Wizard-Dialog) */
    padding-bottom: 16rem;
}

.wizard-patient-actions[b-kgia5md41n] {
    margin-top: 0.75rem;
    padding: 0;
}

[b-kgia5md41n](.wizard-new-patient-btn) {
    padding: 0.25rem 0.5rem;
    min-height: unset;
    height: auto;
}

/* Selected Patient Card */
.selected-patient-card[b-kgia5md41n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a472a;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1rem;
}

.selected-patient-info[b-kgia5md41n] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.selected-label[b-kgia5md41n] {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.selected-name[b-kgia5md41n] {
    font-weight: 600;
    color: #fff;
}

.selected-details[b-kgia5md41n] {
    font-size: 0.85rem;
    color: #aaa;
}
/* /Components/Shared/PersonSearch.razor.rz.scp.css */
.person-search-container[b-uhdd5aj6c3] {
    position: relative;
    width: 100%;
}

.person-search-input[b-uhdd5aj6c3] {
    width: 100%;
}

.search-results-dropdown[b-uhdd5aj6c3] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--l-bg-elevated);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-md);
    box-shadow: var(--l-shadow-lg);
    max-height: 350px;
    overflow-y: auto !important;
    overflow-x: hidden;
    z-index: 10000;
}

.search-loading[b-uhdd5aj6c3] {
    padding: 16px;
    text-align: center;
    color: var(--l-text-secondary);
}

/* Kategorie-Container */
.result-category[b-uhdd5aj6c3] {
    border-bottom: 1px solid var(--l-border-light);
}

.result-category:last-child[b-uhdd5aj6c3] {
    border-bottom: none;
}

.category-header[b-uhdd5aj6c3] {
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--l-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--l-bg-surface);
}

.result-item[b-uhdd5aj6c3] {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    gap: 12px;
}

.result-item:hover[b-uhdd5aj6c3] {
    background: var(--l-bg-surface);
}

[b-uhdd5aj6c3] .result-item.selected,
.result-item.selected[b-uhdd5aj6c3] {
    background: var(--l-primary-soft) !important;
    outline: 2px solid var(--l-primary);
    outline-offset: -2px;
}

.result-info[b-uhdd5aj6c3] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.result-name[b-uhdd5aj6c3] {
    font-weight: 500;
    color: var(--l-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-detail[b-uhdd5aj6c3] {
    font-size: 0.8rem;
    color: var(--l-text-secondary);
}

.result-more[b-uhdd5aj6c3] {
    padding: 10px 16px;
    text-align: center;
    color: var(--l-success);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.result-more:hover[b-uhdd5aj6c3] {
    background: var(--l-bg-surface);
}

.no-results[b-uhdd5aj6c3] {
    padding: 10px 12px;
    text-align: center;
    color: var(--l-text-secondary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    line-height: 1.4;
}

/* Suchfeld mit Filter-Button */
.search-input-wrapper[b-uhdd5aj6c3] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
    position: relative;
    width: 100%;
}

.search-input-wrapper > :first-child[b-uhdd5aj6c3] {
    flex: 1;
    min-width: 0;
}

/* Filter-Dropdown Button Styling - Theme-aware */
[b-uhdd5aj6c3] .filter-dropdown-btn {
    background: var(--l-bg-elevated) !important;
    border: 1px solid var(--l-border) !important;
    color: var(--l-text) !important;
    height: 36px;
    margin-left: 4px;
    border-radius: var(--l-radius-md);
}

[b-uhdd5aj6c3] .filter-dropdown-btn:hover {
    background: var(--l-bg-surface) !important;
    border-color: var(--l-primary) !important;
    color: var(--l-text) !important;
}

[b-uhdd5aj6c3] .filter-dropdown-btn.e-success {
    color: var(--l-success) !important;
    border-color: var(--l-success) !important;
}

[b-uhdd5aj6c3] .filter-dropdown-btn .e-btn-icon {
    color: inherit !important;
}
/* /Components/SpecialDiagnosisSelector.razor.rz.scp.css */
.special-diagnosis-selector[b-5gagu84bkl] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.special-categories[b-5gagu84bkl] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.special-category[b-5gagu84bkl] {
    background: var(--l-bg-elevated);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.special-category:hover[b-5gagu84bkl] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-header[b-5gagu84bkl] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--l-bg-surface);
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--l-text);
}

.category-header:hover[b-5gagu84bkl] {
    background: var(--l-bg-hover);
}

.category-header.expanded[b-5gagu84bkl] {
    background: var(--l-success-bg);
    color: var(--l-text);
}

.category-header-chevron[b-5gagu84bkl] {
    flex-shrink: 0;
    color: var(--l-text-secondary);
}

.category-header.expanded .category-header-chevron[b-5gagu84bkl] {
    color: var(--l-text);
}

.header-content[b-5gagu84bkl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-content .header-lead-icon[b-5gagu84bkl] {
    flex-shrink: 0;
    color: var(--l-info);
}

.category-items[b-5gagu84bkl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--l-bg-elevated);
}

.item-button[b-5gagu84bkl] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    background: var(--l-bg-elevated);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    font-size: 0.82rem;
    color: var(--l-text);
    text-align: left;
}

.item-button .item-icon[b-5gagu84bkl] {
    flex-shrink: 0;
    color: var(--l-info);
}

.item-button:hover[b-5gagu84bkl] {
    border-color: var(--l-info);
    background: var(--l-info-bg);
    transform: translateX(2px);
}

.item-button.selected[b-5gagu84bkl] {
    border-color: var(--l-info);
    background: color-mix(in srgb, var(--l-info) 22%, var(--l-bg-elevated));
    color: var(--l-text);
    font-weight: 600;
}

.item-button.selected .item-icon[b-5gagu84bkl] {
    color: var(--l-info);
}

.item-button:focus-visible[b-5gagu84bkl] {
    outline: 2px solid var(--l-info);
    outline-offset: 2px;
}

.selected-category-info[b-5gagu84bkl] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
}

.special-selection-chip[b-5gagu84bkl] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: var(--l-radius-sm);
    background: color-mix(in srgb, var(--l-info) 18%, var(--l-bg-elevated));
    color: var(--l-info);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--l-info) 40%, transparent);
}

.special-count[b-5gagu84bkl] {
    font-size: 0.72rem;
    color: var(--l-text-secondary);
}

@media (max-width: 768px) {
    .category-items[b-5gagu84bkl] {
        grid-template-columns: 1fr;
    }
}
/* /Components/TherapyReports/TherapyReportDialogHost.razor.rz.scp.css */
/* Scrollbarer Inhalt bei langem Formular; Fußzeile bleibt im DialogShell-Footer */

.therapy-report-dialog-body[b-aizi6yimxy] {
    max-height: min(72vh, 820px);
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: var(--l-space-sm) var(--l-space-md);
}

@media (min-width: 768px) {
    .therapy-report-dialog-body[b-aizi6yimxy] {
        padding: var(--l-space-md) var(--l-space-lg);
    }
}
/* /Components/TherapyReports/TherapyReportTab.razor.rz.scp.css */
/* Therapiebericht-Formular — nur Design-Tokens aus lindebergs-design-system.css */

.therapy-report-tab[b-z4ds4sb2ap] {
    font-family: var(--l-font-sans);
    color: var(--l-text);
}

.therapy-report-hero[b-z4ds4sb2ap] {
    display: flex;
    align-items: flex-start;
    gap: var(--l-space-md);
    margin-bottom: var(--l-space-md);
    padding-bottom: var(--l-space-md);
    border-bottom: 1px solid var(--l-border-light);
}

.therapy-report-hero__badge[b-z4ds4sb2ap] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--l-radius-lg);
    background: var(--l-primary-soft);
    border: 1px solid var(--l-border-light);
    color: var(--l-primary);
    box-shadow: var(--l-shadow-sm);
}

.therapy-report-hero__title[b-z4ds4sb2ap] {
    margin: 0 0 var(--l-space-xs);
    font-size: var(--l-text-xl);
    font-weight: 600;
    line-height: 1.25;
    color: var(--l-text);
    letter-spacing: -0.01em;
}

.therapy-report-hero__lead[b-z4ds4sb2ap] {
    margin: 0;
    font-size: var(--l-text-sm);
    line-height: 1.5;
    color: var(--l-text-secondary);
    max-width: 52rem;
}

.therapy-report-loading[b-z4ds4sb2ap] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: var(--l-space-lg);
    background: var(--l-bg-surface-alt);
    border-radius: var(--l-radius-md);
    border: 1px dashed var(--l-border);
}

.therapy-report-section[b-z4ds4sb2ap] {
    margin-bottom: var(--l-space-xl);
    padding-top: var(--l-space-md);
    border-top: 1px solid var(--l-border-light);
}

.therapy-report-section:first-of-type[b-z4ds4sb2ap] {
    padding-top: 0;
    border-top: none;
}

.therapy-report-section__title[b-z4ds4sb2ap] {
    margin: 0 0 var(--l-space-md);
    font-size: var(--l-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--l-primary);
}

.therapy-report-section .form-label[b-z4ds4sb2ap] {
    font-weight: 500;
    color: var(--l-text);
}

.therapy-report-tab .therapy-report-multiline textarea.e-input[b-z4ds4sb2ap] {
    min-height: 6rem;
    border-radius: var(--l-radius-sm);
    transition: border-color var(--l-transition-fast), box-shadow var(--l-transition-fast);
}

.therapy-report-charcount[b-z4ds4sb2ap] {
    margin-top: var(--l-space-xs);
    font-size: var(--l-text-xs);
    font-variant-numeric: tabular-nums;
}
/* /Components/TimeTracking/TimeAccountOverview.razor.rz.scp.css */
.time-account-overview[b-dt2bm8a67y] {
    --ta-radius: 0.85rem;
}

.time-account-overview[b-dt2bm8a67y] (.e-card) {
    border-radius: var(--ta-radius);
    border: 1px solid var(--l-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: var(--l-bg-elevated);
    overflow: hidden;
}

.time-account-overview[b-dt2bm8a67y] (.e-card .e-card-header) {
    background: linear-gradient(135deg, var(--l-bg-surface) 0%, var(--l-bg-elevated) 100%);
    border-bottom: 1px solid var(--l-border);
    padding: var(--l-space-md) var(--l-space-lg);
}

.time-account-overview[b-dt2bm8a67y] (.e-card .e-card-content) {
    padding: var(--l-space-lg);
    background: var(--l-bg);
}

.ta-toolbar-title[b-dt2bm8a67y] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--l-text);
    margin: 0;
}

.ta-panels[b-dt2bm8a67y] {
    margin: 0;
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card.e-card) {
    height: 100%;
    border-radius: var(--ta-radius);
    border: 1px solid var(--l-border);
    background: var(--l-bg-elevated);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card .e-card-header) {
    padding: 0.75rem 1rem;
    background: var(--l-bg-surface-alt);
    border-bottom: 1px solid var(--l-border-light);
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card .e-card-content) {
    padding: 0;
    background: transparent;
}

.ta-card-title-inline[b-dt2bm8a67y] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--l-text);
    letter-spacing: 0.01em;
}

.ta-panel__icon[b-dt2bm8a67y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--l-primary-soft);
    color: var(--l-primary-dark);
}

.ta-nested-card--vacation .ta-panel__icon[b-dt2bm8a67y] {
    background: var(--l-success-bg);
    color: var(--l-success);
}

.ta-nested-card--overtime .ta-panel__icon[b-dt2bm8a67y] {
    background: var(--l-info-bg);
    color: var(--l-info);
}

.ta-nested-card--training .ta-panel__icon[b-dt2bm8a67y] {
    background: var(--l-warning-bg);
    color: var(--l-warning);
}

.ta-nested-card--sick .ta-panel__icon[b-dt2bm8a67y] {
    background: var(--l-error-bg);
    color: var(--l-error);
}

.ta-panel__body[b-dt2bm8a67y] {
    padding: 1.1rem 1.15rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card--vacation.e-card) {
    border-top: 3px solid var(--l-success);
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card--overtime.e-card) {
    border-top: 3px solid var(--l-info);
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card--training.e-card) {
    border-top: 3px solid var(--l-warning);
}

.time-account-overview[b-dt2bm8a67y] (.ta-nested-card--sick.e-card) {
    border-top: 3px solid var(--l-error);
}

.ta-sf-progress-wrap[b-dt2bm8a67y] {
    margin-top: 0.25rem;
}

.time-account-overview[b-dt2bm8a67y] (.ta-kpi-grid.e-grid) {
    border-radius: 0.55rem;
    border-color: var(--l-border-light);
    overflow: hidden;
}

.time-account-overview[b-dt2bm8a67y] (.ta-kpi-grid .e-gridheader) {
    background: var(--l-bg-surface-alt);
}

.time-account-overview[b-dt2bm8a67y] (.ta-kpi-grid .e-headercell) {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--l-text-muted);
}

.time-account-overview[b-dt2bm8a67y] (.ta-kpi-grid .e-rowcell) {
    font-size: 0.88rem;
    border-color: var(--l-border-light);
}

.time-account-overview[b-dt2bm8a67y] (.ta-kpi-grid--compact .e-gridcontent) {
    min-height: auto;
}

.ta-metric-row[b-dt2bm8a67y] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 576px) {
    .ta-metric-row[b-dt2bm8a67y] {
        grid-template-columns: 1fr;
    }
}

.ta-metric-row--two[b-dt2bm8a67y] {
    grid-template-columns: repeat(2, 1fr);
}

.ta-metric[b-dt2bm8a67y] {
    padding: 0.65rem 0.75rem;
    border-radius: 0.55rem;
    background: var(--l-bg-surface-alt);
    border: 1px solid var(--l-border-light);
    text-align: center;
}

.ta-metric__label[b-dt2bm8a67y] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--l-text-muted);
    margin-bottom: 0.35rem;
}

.ta-metric__value[b-dt2bm8a67y] {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--l-text);
    white-space: nowrap;
}

.ta-metric__value--accent[b-dt2bm8a67y] {
    color: var(--l-primary-dark);
}

.ta-metric__unit[b-dt2bm8a67y] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--l-text-muted);
    margin-left: 0.25rem;
}

.ta-metric__sep[b-dt2bm8a67y] {
    color: var(--l-text-muted);
    font-weight: 500;
    margin: 0 0.15rem;
}

.ta-progress-caption[b-dt2bm8a67y] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--l-text-secondary);
    line-height: 1.4;
    white-space: normal;
}

.ta-panel__hint[b-dt2bm8a67y] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--l-text-muted);
    line-height: 1.45;
    padding: 0.5rem 0.65rem;
    border-radius: 0.45rem;
    background: var(--l-bg-surface);
    border: 1px dashed var(--l-border);
}

.ta-detail-list[b-dt2bm8a67y] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ta-detail-list li[b-dt2bm8a67y] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.85rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--l-border-light);
}

.ta-detail-list li:last-child[b-dt2bm8a67y] {
    border-bottom: none;
}

.ta-detail-list__k[b-dt2bm8a67y] {
    color: var(--l-text-secondary);
}

.ta-detail-list__v[b-dt2bm8a67y] {
    font-weight: 600;
    color: var(--l-text);
    white-space: nowrap;
}

.ta-hero-balance[b-dt2bm8a67y] {
    text-align: center;
    padding: 1rem 1rem 1.15rem;
    border-radius: var(--ta-radius);
    background: linear-gradient(180deg, var(--l-bg-surface-alt) 0%, var(--l-bg-elevated) 100%);
    border: 1px solid var(--l-border-light);
}

.ta-hero-balance__label[b-dt2bm8a67y] {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--l-text-muted);
    margin-bottom: 0.4rem;
}

.ta-hero-balance__value[b-dt2bm8a67y] {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ta-hero-balance__value--pos[b-dt2bm8a67y] {
    color: var(--l-success);
}

.ta-hero-balance__value--neg[b-dt2bm8a67y] {
    color: var(--l-error);
}

.ta-hero-balance__unit[b-dt2bm8a67y] {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 0.15rem;
    opacity: 0.85;
}

.ta-hero-balance__meta[b-dt2bm8a67y] {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--l-text-secondary);
}

.ta-subheading[b-dt2bm8a67y] {
    margin: 0.25rem 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--l-text-muted);
}

.ta-sick-stat[b-dt2bm8a67y] {
    text-align: center;
    padding: 1.25rem 0.5rem;
}

.ta-sick-stat__value[b-dt2bm8a67y] {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--l-warning);
    margin-bottom: 0.5rem;
}

.ta-sick-stat__label[b-dt2bm8a67y] {
    font-size: 0.88rem;
    color: var(--l-text-secondary);
    max-width: 18rem;
    margin: 0 auto;
    line-height: 1.4;
}

.ta-footer-meta[b-dt2bm8a67y] {
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--l-border-light);
    text-align: right;
    font-size: 0.78rem;
    color: var(--l-text-muted);
}

.ta-meta[b-dt2bm8a67y] {
    font-size: 0.8rem;
    color: var(--l-text-muted);
}

.ta-dialog-field[b-dt2bm8a67y] {
    margin-bottom: var(--l-space-md);
}

.ta-dialog-field label[b-dt2bm8a67y] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--l-text-secondary);
    margin-bottom: 0.35rem;
}

/* /Components/UI/DialogShell.razor.rz.scp.css */
:global(.dialog-shell.e-dialog)[b-vzbo7xvgae] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100% - (2 * var(--l-dialog-viewport-gap, 20px))) !important;
}

:global(.dialog-shell.e-dialog .e-dlg-header-content)[b-vzbo7xvgae] {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
}

:global(.dialog-shell.e-dialog .e-dlg-header)[b-vzbo7xvgae] {
  line-height: 1.3;
}

/* min-height: 0 — sonst wächst .e-dlg-content mit dem Inhalt und der FooterTemplate
   rutscht unter den sichtbaren Dialog (klassisches Flex-„min-size: auto“-Problem). */
:global(.dialog-shell.e-dialog .e-dlg-content)[b-vzbo7xvgae] {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 0.75rem;
  overflow-y: auto;
}

:global(.dialog-shell.e-dialog .e-footer-content)[b-vzbo7xvgae] {
  flex: 0 0 auto;
}

:global(.dialog-shell.e-dialog .e-footer-content .dialog-action-footer)[b-vzbo7xvgae] {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

:global(.dialog-shell-header)[b-vzbo7xvgae] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.96rem;
}

:global(.dialog-shell-footer)[b-vzbo7xvgae] {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 0.75rem;
  padding: 0.75rem 0;
}
/* /Components/UI/EmptyState.razor.rz.scp.css */
.ui-empty-state[b-krtu82j1ff] {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.ui-empty-state--info[b-krtu82j1ff] {
    background-color: var(--l-info-bg);
    color: var(--l-info-text);
    border: 1px solid var(--l-info-border);
}

.ui-empty-state--success[b-krtu82j1ff] {
    background-color: var(--l-success-bg);
    color: var(--l-success-text);
    border: 1px solid var(--l-success-border);
}

.ui-empty-state--warning[b-krtu82j1ff] {
    background-color: var(--l-warning-bg);
    color: var(--l-warning-text);
    border: 1px solid var(--l-warning-border);
}

.ui-empty-state--danger[b-krtu82j1ff] {
    background-color: var(--l-error-bg);
    color: var(--l-error-text);
    border: 1px solid var(--l-error-border);
}
/* /Components/UI/IconSpinner.razor.rz.scp.css */
.ui-icon-spinner[b-gcpbjzr9dd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    animation: ui-icon-spinner-rotate-b-gcpbjzr9dd 0.9s linear infinite;
}

.ui-icon-spinner :deep(svg)[b-gcpbjzr9dd] {
    width: 100%;
    height: 100%;
}

@keyframes ui-icon-spinner-rotate-b-gcpbjzr9dd {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* /Components/UI/InternationalPhoneField.razor.rz.scp.css */
/* Eine zusammenhängende Eingabe (Referenz: Flagge + Vorwahl | Nummer) */
.international-phone-field[b-n9qe4tcbgs] {
  display: block;
  min-width: 0;
  --international-phone-shell-h: 2.5rem;
}

.international-phone-field__shell[b-n9qe4tcbgs] {
  display: flex;
  align-items: stretch;
  min-height: var(--international-phone-shell-h);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-md);
  background: var(--l-bg-elevated);
  box-sizing: border-box;
}

.international-phone-field__shell:focus-within[b-n9qe4tcbgs] {
  box-shadow: var(--l-focus-ring);
  border-color: var(--l-border-focus);
}

.international-phone-field__prefix[b-n9qe4tcbgs] {
  flex: 0 0 minmax(5.75rem, 7.25rem);
  min-width: 5.5rem;
  display: flex;
  align-items: center;
}

/* Wert im geschlossenen DDL vertikal mit Eingabe ausrichten */
.international-phone-field__prefix[b-n9qe4tcbgs]  .e-input-group,
.international-phone-field__prefix[b-n9qe4tcbgs]  .e-ddl .e-control-wrapper {
  min-height: var(--international-phone-shell-h);
}

.international-phone-field__prefix[b-n9qe4tcbgs]  .e-ddl .e-input-value,
.international-phone-field__prefix[b-n9qe4tcbgs]  .e-ddl .e-input-value.e-input-value {
  display: flex;
  align-items: center;
  min-height: var(--international-phone-shell-h);
  line-height: 1.25;
}

.international-phone-field__ddl[b-n9qe4tcbgs] {
  width: 100%;
}

/* Innere Syncfusion-Ränder entfernen — äußere Linie kommt von __shell */
.international-phone-field__prefix[b-n9qe4tcbgs]  .e-input-group,
.international-phone-field__prefix[b-n9qe4tcbgs]  .e-ddl,
.international-phone-field__prefix[b-n9qe4tcbgs]  .e-control-wrapper {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.international-phone-field__prefix[b-n9qe4tcbgs]  .e-input-group .e-input {
  text-align: left;
  padding-left: 0.5rem;
  padding-right: 1.75rem;
}

.international-phone-field__number-wrap[b-n9qe4tcbgs] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--international-phone-shell-h);
  align-self: stretch;
  border-left: 1px solid var(--l-border-light);
  display: flex;
  align-items: stretch;
}

.international-phone-field__number-wrap[b-n9qe4tcbgs]  .e-control-wrapper {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 100% !important;
  flex: 1 1 auto;
  min-height: var(--international-phone-shell-h);
  display: flex !important;
  align-items: stretch !important;
}

.international-phone-field__number-wrap[b-n9qe4tcbgs]  .e-input-group {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 100% !important;
  flex: 1 1 auto;
  min-height: var(--international-phone-shell-h) !important;
  display: flex !important;
  align-items: center !important;
}

.international-phone-field__number-wrap[b-n9qe4tcbgs]  input.e-input {
  border-radius: 0 var(--l-radius-md) var(--l-radius-md) 0;
  width: 100% !important;
  flex: 1 1 auto;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.5 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Zugeklappt: Flagge + Vorwahl — gleiche optische Mitte (Emoji vs. Ziffern) */
.international-phone-field__value-compact[b-n9qe4tcbgs] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-size: var(--l-text-sm, 0.875rem);
  line-height: 1.25;
  padding-left: 4px;
}

.international-phone-field__value-flag[b-n9qe4tcbgs] {
  font-size: 1.1rem;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

.international-phone-field__value-dial[b-n9qe4tcbgs] {
  font-variant-numeric: tabular-nums;
  color: var(--l-text);
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
}

/* Liste: Flagge | Name | Vorwahl (breites Popup via PopupWidth am Control) */
.international-phone-field__item[b-n9qe4tcbgs] {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0.15rem 0;
}

.international-phone-field__item-flag[b-n9qe4tcbgs] {
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
  transform: translateY(-2px);
}

.international-phone-field__item-name[b-n9qe4tcbgs] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.international-phone-field__item-dial[b-n9qe4tcbgs] {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--l-text-secondary);
  font-size: var(--l-text-sm, 0.875rem);
}
/* /Components/UI/LinkButton.razor.rz.scp.css */
.ui-link-button[b-vh62bnfjc7] {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ui-link-button:hover[b-vh62bnfjc7] {
    color: var(--color-primary-light);
}

.ui-link-button:disabled[b-vh62bnfjc7] {
    color: var(--color-text-muted);
    cursor: not-allowed;
    text-decoration: none;
}
/* /Components/UI/ListItemDateBadge.razor.rz.scp.css */
.lid-badge[b-nnohr7kkwd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 50px;
    padding: 0.4rem 0.3rem;
    background: var(--l-bg);
    border-radius: 0.35rem;
}

.lid-badge__day[b-nnohr7kkwd] {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--l-primary);
    font-variant-numeric: tabular-nums;
}

.lid-badge__month[b-nnohr7kkwd] {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    line-height: 1.15;
    color: var(--l-text-secondary);
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}

.lid-badge--compact[b-nnohr7kkwd] {
    min-width: 36px;
    max-width: 48px;
    padding: 0.2rem 0.15rem;
}

.lid-badge--compact .lid-badge__day[b-nnohr7kkwd] {
    font-size: 1.05rem;
    font-weight: 600;
}

.lid-badge--compact .lid-badge__month[b-nnohr7kkwd] {
    margin-top: 0.08rem;
    font-size: 0.58rem;
    letter-spacing: -0.02em;
}

.lid-badge__weekday[b-nnohr7kkwd] {
    margin-bottom: 0.1rem;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--l-text-secondary);
    text-align: center;
    white-space: nowrap;
}

.lid-badge--compact.lid-badge--with-weekday[b-nnohr7kkwd] {
    min-width: 4.5rem;
    max-width: none;
    padding: 0.2rem 0.25rem;
}

.lid-badge--compact.lid-badge--with-weekday .lid-badge__weekday[b-nnohr7kkwd] {
    margin-bottom: 0.06rem;
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
/* /Components/UI/LoadingOverlay.razor.rz.scp.css */
.loading-overlay[b-fi2oso0d1g] {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    /* Fallback ohne color-mix */
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px) saturate(1.06);
    -webkit-backdrop-filter: blur(8px) saturate(1.06);
    border-radius: max(0.375rem, inherit);
    cursor: wait;
    pointer-events: auto;
}

[data-theme="dark"] .loading-overlay[b-fi2oso0d1g] {
    background: rgba(45, 52, 50, 0.78);
}

@supports (background: color-mix(in srgb, black 50%, transparent)) {
    .loading-overlay[b-fi2oso0d1g] {
        background: color-mix(in srgb, var(--l-bg-elevated) 72%, transparent);
    }
}

.loading-overlay--center[b-fi2oso0d1g] {
    align-items: center;
    padding: 0.2rem 0.45rem;
    min-height: 2.25rem;
}

.loading-overlay--top[b-fi2oso0d1g] {
    align-items: flex-start;
    padding-top: 1.25rem;
}
/* /Components/UI/LoadingSpinner.razor.rz.scp.css */
.ui-loading-spinner[b-59t93z2496] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}

.ui-loading-spinner--inline[b-59t93z2496] {
    flex-direction: row;
    padding: 0;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
}

.ui-loading-spinner__text[b-59t93z2496] {
    color: var(--color-text-secondary);
    font-size: 14px;
}
/* /Components/UI/PageHeader.razor.rz.scp.css */
.ui-page-header[b-dljch5s5s5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ui-page-header__title[b-dljch5s5s5] {
    display: flex;
    align-items: center;
}

.ui-page-header__title h4[b-dljch5s5s5] {
    margin: 0;
}

.ui-page-header__actions[b-dljch5s5s5] {
    display: flex;
    gap: 0.5rem;
}
/* /Components/UI/PillFrame.razor.rz.scp.css */
.l-pill-frame[b-ps1m7sk8p7] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--l-border);
  background: var(--l-bg);
  border-radius: 999px;
  padding: 0.1rem 0.2rem 0.1rem 0.1rem;
}

.l-pill-frame--active[b-ps1m7sk8p7] {
  border-color: var(--l-primary);
  background: var(--l-primary-soft);
}

/* Optional helpers for inline editors */
.l-pill-frame__action[b-ps1m7sk8p7] {
  opacity: 0.7;
  padding: 2px 6px;
  border-radius: 0;
}

.l-pill-frame__action:hover:not(:disabled)[b-ps1m7sk8p7] {
  opacity: 1;
}

.l-pill-frame__action--ok:hover:not(:disabled)[b-ps1m7sk8p7] {
  background: rgba(25, 135, 84, 0.14);
  color: #198754;
}

.l-pill-frame__action--cancel:hover:not(:disabled)[b-ps1m7sk8p7] {
  background: rgba(108, 117, 125, 0.14);
  color: var(--l-text-secondary);
}

/* Inline editor width (e.g. SfNumericTextBox in pill edit mode; ::deep for ChildContent) */
.l-pill-frame[b-ps1m7sk8p7] (.l-pill-edit__qty) {
  width: 3.25rem;
  min-width: 3.25rem;
  max-width: 3.25rem;
  flex: 0 0 auto;
  margin: 0 4px;
}

/* /Components/UI/PillItem.razor.rz.scp.css */
.l-pill-item[b-f5ude7535s] {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--l-border);
  background: var(--l-bg);
  border-radius: 999px;
  padding: 0.1rem 0.2rem 0.1rem 0.1rem;
}

.l-pill-item--active[b-f5ude7535s] {
  border-color: var(--l-primary);
  background: var(--l-primary-soft);
}

.l-pill-item__btn[b-f5ude7535s] {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: var(--l-text-secondary);
  background: transparent;
  line-height: 1.1;
  font-size: 0.83rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.l-pill-item--active .l-pill-item__btn[b-f5ude7535s] {
  color: var(--l-primary);
  background: transparent;
  font-weight: 600;
}

.l-pill-item__btn:hover:not(:disabled)[b-f5ude7535s] {
  color: var(--l-primary);
  background: rgba(0, 0, 0, 0.04);
}

.l-pill-item__btn:disabled[b-f5ude7535s] {
  opacity: 0.6;
  cursor: not-allowed;
}

.l-pill-item__close[b-f5ude7535s] {
  flex-shrink: 0;
  border: none !important;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  box-shadow: none !important;
}

.l-pill-item__close:hover:not(:disabled)[b-f5ude7535s] {
  opacity: 1;
  background: rgba(217, 83, 79, 0.12);
  color: #d9534f;
}

/* Text helpers for common pill content */
.l-pill-text__qty[b-f5ude7535s] {
  font-weight: 700;
  color: var(--l-text);
}

.l-pill-text__code[b-f5ude7535s] {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--l-text);
}

/* /Components/UI/ProgressBar.razor.rz.scp.css */
.ui-progress-bar[b-5wwowliqim] {
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}

.ui-progress-bar__fill[b-5wwowliqim] {
    height: 100%;
    transition: width 0.3s;
}
/* /Components/UI/SessionDurationStepper.razor.rz.scp.css */
/* Eine Pill: Dauer im Fokus, ± als dezente Icon-Steuerung (Schrittweite nur im Tooltip) */
.session-duration-stepper[b-tjalzpktl3] {
    display: inline-flex;
    vertical-align: middle;
}

.session-duration-stepper__pill[b-tjalzpktl3] {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 1.5rem;
    padding: 0.1rem 0.12rem;
    border: 1px solid var(--l-border-light, var(--l-border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--l-bg-elevated) 92%, var(--l-bg-surface));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 40%, transparent);
}

.session-duration-stepper__value[b-tjalzpktl3] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.12rem;
    padding: 0 0.35rem;
    min-width: 2.5rem;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    user-select: none;
}

.session-duration-stepper__value-num[b-tjalzpktl3] {
    color: var(--l-text-primary, inherit);
    letter-spacing: -0.02em;
}

.session-duration-stepper__value-unit[b-tjalzpktl3] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--l-text-secondary);
}

.session-duration-stepper__control[b-tjalzpktl3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--l-text-muted);
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.session-duration-stepper__control-icon[b-tjalzpktl3] {
    display: block;
    line-height: 0;
    opacity: 0.75;
}

.session-duration-stepper__control-icon[b-tjalzpktl3]  svg {
    display: block;
}

.session-duration-stepper__control:hover:not(:disabled)[b-tjalzpktl3] {
    background: var(--l-primary-soft);
    color: var(--l-primary);
}

.session-duration-stepper__control:hover:not(:disabled) .session-duration-stepper__control-icon[b-tjalzpktl3] {
    opacity: 1;
}

.session-duration-stepper__control:active:not(:disabled)[b-tjalzpktl3] {
    background: color-mix(in srgb, var(--l-primary-soft) 80%, var(--l-primary) 20%);
}

.session-duration-stepper__control:focus-visible[b-tjalzpktl3] {
    outline: none;
    box-shadow: var(--l-focus-ring);
}

.session-duration-stepper__control:disabled[b-tjalzpktl3] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Nur Plus sichtbar (Minimum erreicht): Wert optisch zentrieren */
.session-duration-stepper__pill:not(:has(.session-duration-stepper__control--decrease)) .session-duration-stepper__value[b-tjalzpktl3] {
    padding-left: 0.5rem;
}

.session-duration-stepper__pill:not(:has(.session-duration-stepper__control--increase)) .session-duration-stepper__value[b-tjalzpktl3] {
    padding-right: 0.5rem;
}
/* /Components/UI/SimpleDarkConfirmModal.razor.rz.scp.css */
.ui-dark-confirm-modal__backdrop[b-98mvghy1ov] {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ui-dark-confirm-modal__content[b-98mvghy1ov] {
  background-color: var(--l-bg-elevated);
  color: var(--l-text);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-lg);
  box-shadow: var(--l-shadow-md);
}

.ui-dark-confirm-modal__header[b-98mvghy1ov],
.ui-dark-confirm-modal__footer[b-98mvghy1ov] {
  border-color: var(--l-border) !important;
}

.ui-dark-confirm-modal__title[b-98mvghy1ov] {
  color: var(--l-text);
  font-weight: 600;
}

.ui-dark-confirm-modal__close[b-98mvghy1ov] {
  filter: none;
  opacity: 0.7;
}

.ui-dark-confirm-modal__close:hover[b-98mvghy1ov] {
  opacity: 1;
}
/* /Components/UI/StatMetric.razor.rz.scp.css */
.ui-stat-metric[b-10npkdihf6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.ui-stat-metric__label[b-10npkdihf6] {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.ui-stat-metric__value[b-10npkdihf6] {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-primary);
}

.ui-stat-metric--success .ui-stat-metric__value[b-10npkdihf6] {
    color: var(--color-success);
}

.ui-stat-metric--warning .ui-stat-metric__value[b-10npkdihf6] {
    color: var(--color-warning);
}

.ui-stat-metric--danger .ui-stat-metric__value[b-10npkdihf6] {
    color: var(--color-danger);
}

.ui-stat-metric--primary .ui-stat-metric__value[b-10npkdihf6] {
    color: var(--color-primary);
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-mthglbc1sh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-mthglbc1sh] {
    flex: 1;
}

.sidebar[b-mthglbc1sh] {
    background-image: linear-gradient(180deg, var(--l-primary) 0%, var(--l-primary-hover) 70%);
}

.top-row[b-mthglbc1sh] {
    background-color: var(--l-bg-surface);
    border-bottom: 1px solid var(--l-border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-mthglbc1sh]  a, .top-row[b-mthglbc1sh]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-mthglbc1sh]  a:hover, .top-row[b-mthglbc1sh]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-mthglbc1sh]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-mthglbc1sh] {
        justify-content: space-between;
    }

    .top-row[b-mthglbc1sh]  a, .top-row[b-mthglbc1sh]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-mthglbc1sh] {
        flex-direction: row;
    }

    .sidebar[b-mthglbc1sh] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-mthglbc1sh] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-mthglbc1sh]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-mthglbc1sh], article[b-mthglbc1sh] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* =============================================================================
   NavMenu Legacy Styles - Minimal overrides only
   Main styles are now in NavMenu.razor inline <style>
   ============================================================================= */

/* Legacy nav-item styles (for compatibility) */
.nav-item[b-cgxxagthrl] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-cgxxagthrl] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-cgxxagthrl] {
    padding-bottom: 1rem;
}

.nav-item[b-cgxxagthrl]  a {
    color: var(--l-text);
    border-radius: var(--l-radius-sm);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item[b-cgxxagthrl]  a.active {
    background-color: var(--l-bg-surface);
    color: var(--l-primary);
}

.nav-item[b-cgxxagthrl]  a:hover {
    background-color: var(--l-bg-surface);
    color: var(--l-primary);
}

@media (min-width: 641px) {
    .navbar-toggler[b-cgxxagthrl] {
        display: none;
    }

    .collapse[b-cgxxagthrl] {
        display: block;
    }
}
/* /Pages/Calendar/Calendar.razor.rz.scp.css */
/* Kalender-Seite: Flex-Spalte, füllt den gesamten verfügbaren Viewport */
.control-section.event-calendar[b-dhfaszlut5] {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 56px - var(--l-space-sm, 8px) * 2);
  overflow: hidden !important;
  border: none !important;
  padding-top: unset;
  margin: 0 !important;
}

/* Toolbar bleibt fix oben (merged) */
.toolbar-container[b-dhfaszlut5] {
  flex: 0 0 48px;
  height: 48px;
  display: block;
  background-color: var(--l-bg-elevated);
  z-index: 100;
}

[b-dhfaszlut5] .calendar-resource-type-filter.e-dropdownlist {
  margin-top: 2px;
}

[b-dhfaszlut5] .calendar-resource-type-filter.e-dropdownlist .e-input-group {
  height: 28px;
  min-height: 28px;
}

[b-dhfaszlut5] .calendar-resource-type-filter.e-dropdownlist .e-input-group input.e-input {
  font-size: 12px;
  min-height: 26px;
  height: 26px;
}

[b-dhfaszlut5] .calendar-resource-header-clickable {
  cursor: pointer;
  border-radius: var(--l-radius-sm, 4px);
  transition: background-color 0.15s ease;
}

[b-dhfaszlut5] .calendar-resource-header-clickable:hover {
  background-color: color-mix(in srgb, var(--l-primary) 8%, transparent);
}

[b-dhfaszlut5] .calendar-resource-header-clickable:focus-visible {
  outline: 2px solid var(--l-primary);
  outline-offset: 2px;
}

/* Sidebar-Bereich + Hauptkalender füllen den Rest */
.calendar-main-area[b-dhfaszlut5] {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.main-content[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-content[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.schedule-container[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

/* Syncfusion Schedule füllt den verfügbaren Platz */
[b-dhfaszlut5] .e-schedule {
  height: 100%;
}

/* Kalender-Sidebar: Scroll nur in der Therapeutenliste (Mini-Kalender bleibt oben) */
.calendar-main-area[b-dhfaszlut5]  > .e-sidebar {
  overflow: hidden !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--l-text) 15%, transparent)
    transparent;
}

.calendar-main-area[b-dhfaszlut5]  > .e-sidebar::-webkit-scrollbar {
  width: 4px;
}

.calendar-main-area[b-dhfaszlut5]  > .e-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.calendar-main-area[b-dhfaszlut5]  > .e-sidebar::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, var(--l-text) 15%, transparent);
  border-radius: 2px;
}

.calendar-main-area[b-dhfaszlut5]  > .e-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, var(--l-text) 30%, transparent);
}

/*
  Syncfusion renders two header rows in resource day/week views:
  1) resource row (Therapeuten) -> keep
  2) date row (Mi / 1)         -> hide
*/
/*.schedule-container ::deep .e-date-header-wrap .e-schedule-table > tbody > tr.e-header-row:nth-of-type(2) {
  display: none !important;
}*/

/* Match the left indent table height by hiding the corresponding second row there as well */
/*.schedule-container ::deep .e-left-indent-wrap .e-schedule-table > tbody > tr:nth-of-type(2) {
  display: none !important;
}*/

/* Linke All-Day-Ecke (graues Quadrat) weiß darstellen */
.schedule-container[b-dhfaszlut5]  .e-left-indent-wrap .e-all-day-cells,
.schedule-container[b-dhfaszlut5]  .e-left-indent-wrap .e-all-day-appointment-section {
  background-color: var(--l-bg-elevated) !important;
}

.main-content[b-dhfaszlut5] {
  padding: 0 !important;
}

.content.px-4[b-dhfaszlut5] {
  padding: 0 !important;
}

.calendar-left-sidebar .e-listview .e-list-item[b-dhfaszlut5] {
  font-size: 11px !important;
  padding: 6px 8px !important;
}

.calendar-left-sidebar .e-listview .e-text[b-dhfaszlut5] {
  font-size: 11px !important;
}

.listview-group-item[b-dhfaszlut5] {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.listview-group-item__name[b-dhfaszlut5] {
  flex: 1 !important;
  margin-right: 4px !important;
}

.listview-group-item__delete[b-dhfaszlut5] {
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.calendar-main-area .main-content[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendar-main-area .sidebar-content[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendar-main-area .schedule-container[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendar-main-area .schedule-container > .e-schedule[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* Verhindert dass Firefox die erste Ressource-Spalte bei inkrementellem Rendering verbreitert */
.schedule-container[b-dhfaszlut5]
  
  .schedule-compact.e-schedule
  .e-vertical-view
  .e-date-header-wrap
  .e-schedule-table,
.schedule-container[b-dhfaszlut5]
  
  .schedule-compact.e-schedule
  .e-vertical-view
  .e-content-wrap
  .e-schedule-table {
  table-layout: fixed !important;
}

.selected-date-calendar.e-calendar .e-btn.e-today.e-flat.e-primary[b-dhfaszlut5],
.selected-date-calendar.e-calendar .e-css.e-btn.e-today.e-flat.e-primary[b-dhfaszlut5] {
  display: none;
}
.event-calendar .main-content.e-sidebar-context .sidebar-content[b-dhfaszlut5],
.expand-close-icon-headertext-container[b-dhfaszlut5],
.dialog-content[b-dhfaszlut5] {
  display: flex;
}
.expand-close-icon-headertext-container[b-dhfaszlut5] {
  display: flex;
  padding: 4px 0;
  align-items: baseline;
}
.expand-close-icon-headertext-container .expand-icon[b-dhfaszlut5] {
  padding: 0 8px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 8px;
  font-size: large;
}
.unplanned-events-expander[b-dhfaszlut5] {
  text-align: center;
  width: 50px;
  padding: 12px 0;
}
.unplanned-events-expander .sidebar-open-icon-text-container[b-dhfaszlut5] {
  margin: 0 10px;
}
.unplanned-events-expander
  .sidebar-open-icon-text-container
  .sidebar-open-icon[b-dhfaszlut5] {
  font-size: large;
  font-weight: bold;
}
.unplaned-events-expand[b-dhfaszlut5] {
  width: inherit;
}
.unplanned-events-expander div[b-dhfaszlut5] {
  padding: 6px 0;
  font-size: 16px;
  font-weight: 600;
}
.unplanned-events-text[b-dhfaszlut5] {
  writing-mode: vertical-rl;
  margin: auto;
}
.calendar-left-sidebar .table-content[b-dhfaszlut5] {
  padding: 10px;
}
.calendars-list .e-list-header[b-dhfaszlut5],
.calendars-list .e-list-header .calendars-list-header[b-dhfaszlut5],
.calendars-list .e-list-item.e-checklist .e-text-content.e-checkbox[b-dhfaszlut5],
.calendars-list
  .e-list-item.e-checklist:hover
  .calendar-list-item
  .calendar-buttons[b-dhfaszlut5],
.calendars-list .calendar-list-item[b-dhfaszlut5] {
  display: flex;
  align-items: center;
}
.calendar-container[b-dhfaszlut5],
.listview-container[b-dhfaszlut5] {
  margin: 3px;
}
.calendar-listview-container .calendar-container .e-calendar[b-dhfaszlut5] {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}
.calendars-list .e-list-header .calendars-list-header .header-text[b-dhfaszlut5],
.calendars-list .calendar-list-item .calendar-name[b-dhfaszlut5] {
  flex-grow: 1;
}
.calendars-list .e-list-header .e-headertemplate-text.header[b-dhfaszlut5] {
  flex-grow: 1;
  font-size: 16px;
}
.calendars-list .calendar-list-item .calendar-buttons[b-dhfaszlut5],
.hidden[b-dhfaszlut5] {
  display: none;
}
.calendars-list .e-list-header .calendars-list-header .header-icon.e-plus[b-dhfaszlut5] {
  cursor: pointer;
}
.calendars-list .calendar-list-item .calendar-buttons .calendar-edit-button[b-dhfaszlut5],
.calendars-list .calendar-list-item .calendar-buttons .calendar-delete-button[b-dhfaszlut5] {
  padding: 0 6px;
}
.e-dialog-parent .e-date-container[b-dhfaszlut5] {
  padding-right: 8px;
}
.e-dialog-parent .e-allday-repeat-checbox[b-dhfaszlut5] {
  display: flex;
  padding-bottom: 12px;
  padding-top: 4px;
  width: 100%;
}
.e-dialog-parent .e-time-container[b-dhfaszlut5] {
  padding-left: 8px;
  width: 50%;
}
.e-dialog-parent .custom-field-row[b-dhfaszlut5] {
  padding-bottom: 12px;
}

/* Termin-Editor: Typ (Therapie / Intern / Abwesenheit) oben, Kategorie (Detail) darunter — volle Breite */
.e-dialog-parent .custom-field-row.calendar-typ-kategorie-row[b-dhfaszlut5] {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.e-dialog-parent
  .custom-field-row.calendar-typ-kategorie-row
  .custom-field-container[b-dhfaszlut5] {
  width: 100%;
  flex: none;
}

/* Terminserie vs. Terminart: Hinweis direkt im Editor (über Modal-Overlay sichtbar) */
.e-dialog-parent .calendar-editor-episode-mismatch[b-dhfaszlut5] {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid
    color-mix(in srgb, var(--l-warning, #c9a227) 45%, transparent);
  background: color-mix(
    in srgb,
    var(--l-warning, #f5e6a3) 22%,
    var(--l-surface, #fff)
  );
  color: var(--l-on-surface, inherit);
}
.e-dialog-parent .calendar-editor-episode-mismatch__icon[b-dhfaszlut5] {
  flex-shrink: 0;
  line-height: 1.2;
}
.e-dialog-parent .calendar-editor-episode-mismatch__body strong[b-dhfaszlut5] {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}
.e-dialog-parent .e-all-day-container[b-dhfaszlut5] {
  padding-right: 16px;
}
.e-bigger
  .event-calendar.e-schedule
  .e-year-view
  .e-calendar-wrapper
  .e-month-calendar.e-calendar[b-dhfaszlut5] {
  min-width: 307px;
}
label[b-dhfaszlut5] {
  font-weight: unset;
  font-size: small;
}
.e-bigger .e-repeat-checkbox .e-btn.e-icon-btn[b-dhfaszlut5] {
  padding: 0 5px;
}

/* Slot-Höhe: nur in lindebergs-design-system.css (.schedule-compact, --l-schedule-slot-height) */

/* Sichtbarer Hover auch bei Overlay/Inline-Hintergründen */
[b-dhfaszlut5] .e-schedule .e-vertical-view .e-work-cells:hover {
  outline: 1px solid color-mix(in srgb, var(--l-primary) 65%, transparent) !important;
  outline-offset: -1px;
}

/* Zeilen-Hilfe + Tooltip am body: lindebergs-design-system.css (scoped :global greift dort nicht) */

/* Termine in kompakten Zellen: kleinere Schrift und weniger Padding */
[b-dhfaszlut5] .schedule-compact.e-schedule .e-vertical-view .e-appointment {
  min-height: var(--l-schedule-slot-height, 10px) !important;
  font-size: 9px !important;
  line-height: 9px !important;
  padding: 0 2px 0 2px !important;
  overflow: hidden !important;
  outline: 1px solid rgba(0, 0, 0, 0.35) !important;
  outline-offset: -1px;
  color: #000 !important;
}

[b-dhfaszlut5] .e-schedule .e-vertical-view .e-appointment .e-subject {
  font-size: 9px !important;
  line-height: 9px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
}

[b-dhfaszlut5] .e-schedule .e-vertical-view .e-appointment .e-time {
  display: none !important;
}

[b-dhfaszlut5] .e-schedule .e-vertical-view .e-appointment .e-appointment-details {
  padding: 0 2px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
}

/* Monats- und Agenda-Ansicht: Terminschrift schwarz */
[b-dhfaszlut5] .e-schedule .e-month-view .e-appointment,
[b-dhfaszlut5] .e-schedule .e-agenda-view .e-appointment {
  color: #000 !important;
}

[b-dhfaszlut5] .e-schedule .e-month-view .e-appointment .e-subject,
[b-dhfaszlut5] .e-schedule .e-agenda-view .e-appointment .e-subject {
  color: inherit !important;
}

/* Stornierte Termine - visuelle Kennzeichnung */
[b-dhfaszlut5] .e-appointment-cancelled {
  opacity: 0.5 !important;
  text-decoration: none !important;
  background-color: var(--l-text-secondary) !important;
  border-color: var(--l-text-secondary) !important;
}

[b-dhfaszlut5] .e-appointment-cancelled .e-subject {
  text-decoration: none !important;
}

/* Verschobene Termine (Ghost) - visuelle Kennzeichnung */
[b-dhfaszlut5] .e-appointment-rescheduled {
  opacity: 0.6 !important;
  text-decoration: none !important;
  background-color: var(--l-text-secondary) !important;
  border-color: var(--l-text-secondary) !important;
  color: #fff !important;
  cursor: pointer !important;
}

[b-dhfaszlut5] .e-appointment-rescheduled .e-subject {
  text-decoration: none !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  overflow: visible !important;
  line-clamp: unset !important;
  -webkit-line-clamp: unset !important;
  text-overflow: unset !important;
}

/* Batch-Planung: Vorschläge im Kalender (Ghost-Events) */
[b-dhfaszlut5] .e-schedule .e-appointment.e-appointment-planning-suggestion {
  background-color: color-mix(in srgb, var(--l-bg-elevated, #fff) 88%, var(--l-text-secondary, #6c757d)) !important;
  border: 1px dashed color-mix(in srgb, var(--l-border, #d1cdc0) 70%, var(--l-text-secondary, #6c757d)) !important;
  border-radius: var(--l-radius-sm, 4px) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--l-bg-elevated, #fff) 40%, transparent) !important;
  color: var(--l-text-secondary, #6c757d) !important;
  opacity: 1 !important;
  outline: none !important;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

[b-dhfaszlut5] .schedule-compact.e-schedule .e-vertical-view .e-appointment.e-appointment-planning-suggestion {
  outline: none !important;
}

[b-dhfaszlut5] .e-schedule .e-appointment.e-appointment-planning-suggestion .e-subject {
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  opacity: 0.92 !important;
}

[b-dhfaszlut5] .e-schedule .e-appointment.e-appointment-planning-suggestion--selected {
  background-color: var(--l-primary-soft, rgba(116, 139, 116, 0.15)) !important;
  border: 1px solid color-mix(in srgb, var(--l-primary, #748b74) 55%, transparent) !important;
  border-left: 3px solid var(--l-primary, #748b74) !important;
  border-radius: var(--l-radius-sm, 4px) !important;
  box-shadow:
    0 1px 2px rgba(var(--l-primary-rgb, 116, 139, 116), 0.12),
    inset 0 0 0 1px color-mix(in srgb, var(--l-bg-elevated, #fff) 55%, transparent) !important;
  color: var(--l-text, #212529) !important;
}

[b-dhfaszlut5] .e-schedule .e-appointment.e-appointment-planning-suggestion--selected .e-subject {
  font-weight: 600 !important;
  color: var(--l-primary-dark, #002019) !important;
  opacity: 1 !important;
}

[b-dhfaszlut5] .e-schedule .e-appointment.e-appointment-planning-suggestion:hover:not(.e-appointment-planning-suggestion--selected) {
  background-color: color-mix(in srgb, var(--l-primary-soft, rgba(116, 139, 116, 0.15)) 45%, var(--l-bg-elevated, #fff)) !important;
  border-color: color-mix(in srgb, var(--l-primary, #748b74) 40%, var(--l-border, #d1cdc0)) !important;
  border-style: dashed !important;
  color: var(--l-text, #212529) !important;
}

[b-dhfaszlut5] .e-schedule .e-appointment.e-appointment-planning-suggestion--selected:hover {
  background-color: var(--l-primary-soft-strong, rgba(116, 139, 116, 0.25)) !important;
  border-color: color-mix(in srgb, var(--l-primary, #748b74) 70%, transparent) !important;
}

/* Neupatient / Onlinetermin: Streifen-Styles → lindebergs-design-system.css */

/* ============================================================
 * Syncfusion-Overrides wurden nach lindebergs-design-system.css verschoben
 * (globale CSS, damit sie garantiert greifen)
 * ============================================================ */

/* Toggle für stornierte Termine in Toolbar */
.cancelled-toggle[b-dhfaszlut5] {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.cancelled-toggle .e-checkbox-wrapper[b-dhfaszlut5] {
  margin: 0;
}

.cancelled-toggle .e-label[b-dhfaszlut5] {
  font-size: 12px;
  color: var(--l-text-secondary);
}

/* Mini-Kalender Booking-Styles: CalendarSidebarPanel.razor.css (CSS-Isolation). */

/* Editor Physical Appointment Banner */
.editor-physical-banner[b-dhfaszlut5] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: var(--l-info-bg);
  border: 1px solid var(--l-info);
  border-radius: 0.375rem;
  color: var(--l-info);
  font-size: 0.875rem;
  font-weight: 500;
}

.editor-physical-banner svg[b-dhfaszlut5] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.calendar-change-history__deleted[b-dhfaszlut5] {
  color: var(--l-error);
  font-weight: 600;
}

.calendar-change-history__cancelled[b-dhfaszlut5] {
  color: var(--l-warning);
  font-weight: 600;
}

.calendar-change-history__rescheduled[b-dhfaszlut5] {
  color: var(--l-info);
  font-weight: 600;
}

.calendar-change-history__detail[b-dhfaszlut5] {
  font-size: 0.9em;
  margin-left: 8px;
}

.editor-history-btn[b-dhfaszlut5] {
  background: transparent;
  border: 1px solid var(--l-border);
  border-radius: 0.375rem;
  color: var(--l-text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--l-transition-base);
  font-weight: 500;
}

.editor-history-btn:hover[b-dhfaszlut5] {
  border-color: var(--l-text-secondary);
  color: var(--l-text);
  background-color: var(--l-bg-surface);
}

.editor-history-btn svg[b-dhfaszlut5] {
  width: 12px;
  height: 12px;
}

/* Kombi: zwei Therapeuten-Kalender nebeneinander */
.calendar-combi-dual-wrap[b-dhfaszlut5] {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  gap: var(--l-space-md, 12px);
  align-items: stretch;
}

/* Hilfslinien: je Pane über genau einen Scheduler (nicht über die volle Breite) */
.calendar-combi-dock-guides[b-dhfaszlut5] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  overflow: visible;
}

/* Scrollt mit dem Terminraster (wird per JS in .e-content-wrap verschoben) */
[b-dhfaszlut5] .e-content-wrap > .calendar-combi-dock-guides {
  inset: 0;
  width: 100%;
  min-height: 100%;
}

.calendar-combi-dock-line[b-dhfaszlut5] {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-top: 2px dashed var(--l-primary);
  box-sizing: border-box;
  display: none;
  opacity: 0.95;
  z-index: 1001;
  filter: drop-shadow(
    0 0 1px color-mix(in srgb, var(--l-primary) 40%, transparent)
  );
}

/* Zeitraum des Partner-Termins: volle Breite des Kalenders, zwischen Start- und Endlinie */
.calendar-combi-dock-band[b-dhfaszlut5] {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  margin: 0;
  padding: 0;
  display: none;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 1;
  border-left: 2px dashed var(--l-primary);
  border-right: 2px dashed var(--l-primary);
  opacity: 0.5;
  /* Fallback wenn color-mix fehlt */
  background: rgba(128, 128, 128, 0.14);
  background: repeating-linear-gradient(
    -36deg,
    color-mix(in srgb, var(--l-primary) 18%, transparent),
    color-mix(in srgb, var(--l-primary) 18%, transparent) 5px,
    transparent 5px,
    transparent 10px
  );
}

.calendar-combi-dual-pane[b-dhfaszlut5] {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-combi-dual-pane__title[b-dhfaszlut5] {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--l-text-secondary);
  padding: 0 0 6px 2px;
}

.calendar-combi-dual-pane__schedule[b-dhfaszlut5] {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendar-combi-dual-pane__schedule[b-dhfaszlut5]  .e-schedule {
  flex: 1 1 0;
  min-height: 0;
  height: 100% !important;
  box-sizing: border-box;
}

.calendar-main-area .schedule-container > .calendar-combi-dual-wrap[b-dhfaszlut5] {
  flex: 1 1 0;
  min-height: 0;
}

[b-dhfaszlut5] .e-appointment.calendar-realtime-pulse {
  animation: calendar-realtime-pop-b-dhfaszlut5 0.45s ease-out;
  box-shadow: 0 0 0 3px rgba(56, 128, 255, 0.45);
  z-index: 5;
}

@keyframes calendar-realtime-pop-b-dhfaszlut5 {
  0% {
    transform: scale(0.88);
    opacity: 0.35;
  }

  70% {
    transform: scale(1.03);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* /Pages/Calendar/CalendarPlanningBar.razor.rz.scp.css */
.calendar-planning-bar[b-h8d333i2ci] {
    width: 100%;
    margin: 0 0 4px;
    padding: 10px 12px 12px;
    background: color-mix(in srgb, var(--l-bg-elevated, #fff) 92%, var(--l-primary-soft, rgba(116, 139, 116, 0.15)));
    border: 1px solid color-mix(in srgb, var(--l-border, #dee2e6) 80%, var(--l-primary, #748b74) 12%);
    border-radius: var(--l-radius-md, 8px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.calendar-planning-bar__header[b-h8d333i2ci] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.calendar-planning-bar__title[b-h8d333i2ci] {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--l-text, #212529);
}

.calendar-planning-bar__section[b-h8d333i2ci] {
    padding-top: 8px;
}

.calendar-planning-bar__section--filters[b-h8d333i2ci] {
    padding-top: 0;
}

.calendar-planning-bar__section + .calendar-planning-bar__section[b-h8d333i2ci] {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--l-border-subtle, #e9ecef);
}

.calendar-planning-bar__section--series[b-h8d333i2ci] {
    padding: 10px 12px;
    border-radius: var(--l-radius-sm, 6px);
    border: 1px dashed color-mix(in srgb, var(--l-primary, #748b74) 28%, var(--l-border-subtle, #e9ecef));
    background: color-mix(in srgb, var(--l-primary-soft, rgba(116, 139, 116, 0.15)) 35%, var(--l-bg-elevated, #fff));
}

.calendar-planning-bar__recipe-context[b-h8d333i2ci] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: var(--l-radius-sm, 6px);
    font-size: 0.75rem;
    color: var(--l-text-secondary, #6c757d);
    background: color-mix(in srgb, var(--l-bg-elevated, #fff) 85%, var(--l-primary-soft, rgba(116, 139, 116, 0.15)));
    border: 1px solid var(--l-border-subtle, #e9ecef);
}

.calendar-planning-bar__recipe-context--warn[b-h8d333i2ci] {
    border-color: color-mix(in srgb, var(--l-warning, #ffc107) 45%, var(--l-border-subtle, #e9ecef));
    color: var(--l-text, #212529);
}

.calendar-planning-bar__recipe-overplan[b-h8d333i2ci] {
    display: inline-flex;
    color: var(--l-warning-text, #856404);
    flex-shrink: 0;
}

.calendar-planning-bar__section--footer[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 12px;
}

.calendar-planning-bar__row[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.calendar-planning-bar__group[b-h8d333i2ci] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: var(--l-radius-sm, 6px);
    background: var(--l-bg-elevated, #fff);
    border: 1px solid var(--l-border-subtle, #e9ecef);
}

.calendar-planning-bar__group--legs[b-h8d333i2ci] {
    flex-wrap: wrap;
}

.calendar-planning-bar__group--patient[b-h8d333i2ci] {
    min-width: 140px;
}

.calendar-planning-bar__label[b-h8d333i2ci] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--l-text-secondary, #6c757d);
    white-space: nowrap;
    margin: 0;
}

.calendar-planning-bar__patient-wrap[b-h8d333i2ci] {
    position: relative;
}

.calendar-planning-bar__patient[b-h8d333i2ci] {
    width: 160px;
}

.calendar-planning-bar__patient-selected[b-h8d333i2ci] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 31px;
}

.calendar-planning-bar__leg[b-h8d333i2ci] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.calendar-planning-bar__therapy[b-h8d333i2ci] {
    width: 170px;
    min-width: 150px;
}

.calendar-planning-bar__therapy-ddl.e-ddl[b-h8d333i2ci] {
    width: 100%;
}

.calendar-planning-bar__mode[b-h8d333i2ci] {
    width: 170px;
}

.calendar-planning-bar__count[b-h8d333i2ci] {
    width: 64px;
}

.calendar-planning-bar__date[b-h8d333i2ci] {
    width: 140px;
}

.calendar-planning-bar__weekdays[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.calendar-planning-bar__close[b-h8d333i2ci] {
    padding-left: 8px;
    padding-right: 8px;
}

.calendar-planning-bar__patient-name[b-h8d333i2ci] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-planning-bar__patient-clear[b-h8d333i2ci] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border: none;
    border-radius: var(--l-radius-sm, 4px);
    background: transparent;
    color: var(--l-text-secondary, #6c757d);
    cursor: pointer;
    line-height: 1;
}

.calendar-planning-bar__patient-clear:hover[b-h8d333i2ci] {
    background: var(--l-bg-hover, #e9ecef);
    color: var(--l-text-primary, #212529);
}

.calendar-planning-bar__patient-results[b-h8d333i2ci] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1100;
    min-width: 200px;
    background: var(--l-bg-elevated, #fff);
    border: 1px solid var(--l-border, #dee2e6);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-height: 200px;
    overflow-y: auto;
}

.calendar-planning-bar .form-control-sm[b-h8d333i2ci],
.calendar-planning-bar .form-select-sm[b-h8d333i2ci] {
    height: 31px;
    min-height: 31px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    line-height: 1.25;
}

.calendar-planning-bar .form-control:focus[b-h8d333i2ci],
.calendar-planning-bar .form-select:focus[b-h8d333i2ci] {
    border-color: var(--l-primary, var(--bs-primary));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--l-primary, var(--bs-primary)) 22%, transparent);
}

.calendar-planning-bar__group--recipe[b-h8d333i2ci] {
    align-items: center;
}

/* Mit Positions-Chips: Label oben, Chips unter dem Dropdown */
.calendar-planning-bar__group--recipe:has(.calendar-planning-bar__recipe-chips)[b-h8d333i2ci] {
    align-items: flex-start;
}

.calendar-planning-bar__recipe-stack[b-h8d333i2ci] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.calendar-planning-bar__recipe-chips[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.calendar-planning-bar__recipe-chips--warn .recipe-progress-chip:not(.is-complete)[b-h8d333i2ci] {
    border-color: color-mix(in srgb, var(--l-warning, #ffc107) 45%, var(--l-border-light, #e9ecef));
}

.calendar-planning-bar__recipe-chips .recipe-progress-chip[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.1rem 0.45rem;
    border-radius: var(--l-radius-full, 999px);
    border: 1px solid var(--l-border-light, #e9ecef);
    background: var(--l-bg-surface-alt, var(--l-bg-elevated, #fff));
    font-size: 0.6875rem;
    line-height: 1.35;
    white-space: nowrap;
}

.calendar-planning-bar__recipe-chips .recipe-progress-chip--physical[b-h8d333i2ci] {
    border-color: color-mix(in srgb, var(--l-primary, #748b74) 22%, var(--l-border-light, #e9ecef));
    background: color-mix(in srgb, var(--l-primary-soft, rgba(116, 139, 116, 0.15)) 40%, var(--l-bg-elevated, #fff));
}

.calendar-planning-bar__recipe-chips .chip-code[b-h8d333i2ci] {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.calendar-planning-bar__recipe-chips .chip-count[b-h8d333i2ci] {
    font-weight: 600;
    color: var(--l-text-secondary, #6c757d);
    font-variant-numeric: tabular-nums;
}

.calendar-planning-bar__recipe-chips .recipe-progress-chip.is-complete[b-h8d333i2ci] {
    border-color: color-mix(in srgb, var(--l-success, #2e7d32) 35%, var(--l-border-light, #e9ecef));
    background: color-mix(in srgb, var(--l-success, #2e7d32) 10%, var(--l-bg-elevated, #fff));
}

.calendar-planning-bar__recipe[b-h8d333i2ci] {
    min-width: 180px;
    max-width: 280px;
}

.calendar-planning-bar[b-h8d333i2ci] (.calendar-planning-bar__recipe.e-dropdownlist .e-input-group) {
    height: 31px;
    min-height: 31px;
}

.calendar-planning-bar[b-h8d333i2ci] (.calendar-planning-bar__recipe.e-dropdownlist .e-input-group input.e-input) {
    font-size: 0.875rem;
    min-height: 29px;
    height: 29px;
}

.calendar-planning-bar__duration-chips[b-h8d333i2ci] {
    gap: 0.25rem;
}

.calendar-planning-bar__duration-chips .session-duration-chips__chip[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 31px;
    padding: 0 0.45rem;
    font-size: 0.75rem;
    line-height: 1;
}

.calendar-planning-bar__series-fields[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 16px;
}

.calendar-planning-bar__series-field[b-h8d333i2ci] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-planning-bar__series-field--weekdays[b-h8d333i2ci] {
    flex: 1 1 auto;
    min-width: 200px;
}

.calendar-planning-bar__series-label[b-h8d333i2ci] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--l-text-secondary, #6c757d);
    margin: 0;
}

.calendar-planning-bar__week-step[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: var(--l-radius-sm, 6px);
    background: var(--l-bg-elevated, #fff);
    border: 1px solid color-mix(in srgb, var(--l-primary, #748b74) 22%, var(--l-border-subtle, #e9ecef));
}

.calendar-planning-bar__week-summary[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.calendar-planning-bar__kw-badge[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--l-primary-strong, #3f5a3f);
    background: color-mix(in srgb, var(--l-primary, #748b74) 16%, #fff);
}

.calendar-planning-bar__progress-pill[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1;
    color: var(--l-text-secondary, #6c757d);
    background: var(--l-bg-subtle, #f1f3f5);
    border: 1px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.calendar-planning-bar__progress-label[b-h8d333i2ci] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.75;
}

.calendar-planning-bar__progress-value[b-h8d333i2ci] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--l-text, #212529);
}

.calendar-planning-bar__progress-sep[b-h8d333i2ci] {
    margin: 0 1px;
    opacity: 0.5;
    font-weight: 500;
}

.calendar-planning-bar__progress-pill--total.is-complete[b-h8d333i2ci] {
    color: var(--l-success-strong, #1b7a43);
    background: color-mix(in srgb, var(--l-success, #2e9e5b) 16%, #fff);
    border-color: color-mix(in srgb, var(--l-success, #2e9e5b) 35%, transparent);
}

.calendar-planning-bar__progress-pill--total.is-complete .calendar-planning-bar__progress-value[b-h8d333i2ci] {
    color: var(--l-success-strong, #1b7a43);
}

.calendar-planning-bar__week-nav[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.calendar-planning-bar__week-nav-btn[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.calendar-planning-bar__series-status[b-h8d333i2ci] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--l-text-secondary, #6c757d);
}

.calendar-planning-bar__actions .btn[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.calendar-planning-bar__series-help[b-h8d333i2ci] {
    margin: 8px 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--l-text-secondary, #6c757d);
}

.calendar-planning-bar__frequency[b-h8d333i2ci] {
    min-width: 130px;
}

.calendar-planning-bar__weekday[b-h8d333i2ci] {
    min-width: 32px;
    padding-left: 6px;
    padding-right: 6px;
}

.calendar-planning-bar__visit-progress[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.calendar-planning-bar__visit-chip[b-h8d333i2ci] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px dashed color-mix(in srgb, var(--l-border, #d1cdc0) 70%, var(--l-text-secondary, #6c757d));
    background: color-mix(in srgb, var(--l-bg-elevated, #fff) 88%, var(--l-text-secondary, #6c757d));
    color: var(--l-text-secondary, #6c757d);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.calendar-planning-bar__visit-chip:disabled[b-h8d333i2ci] {
    cursor: default;
    opacity: 0.7;
}

.calendar-planning-bar__visit-chip--available:hover:not(:disabled)[b-h8d333i2ci] {
    border-color: color-mix(in srgb, var(--l-primary, #748b74) 40%, var(--l-border, #d1cdc0));
    background: color-mix(in srgb, var(--l-primary-soft, rgba(116, 139, 116, 0.15)) 45%, var(--l-bg-elevated, #fff));
    color: var(--l-text, #212529);
}

.calendar-planning-bar__visit-chip--selected[b-h8d333i2ci] {
    border-style: solid;
    border-color: color-mix(in srgb, var(--l-primary, #748b74) 55%, transparent);
    background: var(--l-primary-soft, rgba(116, 139, 116, 0.15));
    color: var(--l-primary-dark, #002019);
}

.calendar-planning-bar__visit-chip--gap[b-h8d333i2ci] {
    border-style: solid;
    border-color: color-mix(in srgb, var(--bs-warning, #ffc107) 50%, var(--l-border, #dee2e6));
    background: color-mix(in srgb, var(--bs-warning, #ffc107) 12%, var(--l-bg-elevated, #fff));
    color: var(--l-text, #212529);
}

.calendar-planning-bar__visit-chip--pending[b-h8d333i2ci] {
    border-style: dotted;
    opacity: 0.85;
}

.calendar-planning-bar__selection-hint[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--l-text, #212529);
}

.calendar-planning-bar__scroll-link[b-h8d333i2ci] {
    padding: 0;
    border: none;
    background: none;
    color: var(--l-primary, #748b74);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.calendar-planning-bar__scroll-link:hover[b-h8d333i2ci] {
    color: var(--l-primary-dark, #002019);
}

.calendar-planning-bar__status[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 280px;
    min-width: 0;
    font-size: 0.8125rem;
}

.calendar-planning-bar__status-state[b-h8d333i2ci] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 220px;
    min-width: 0;
    padding: 6px 10px;
    border-radius: var(--l-radius-sm, 6px);
    border: 1px solid var(--l-border-subtle, #e9ecef);
    background: var(--l-bg-elevated, #fff);
}

.calendar-planning-bar__status-state--searching[b-h8d333i2ci] {
    align-items: center;
    color: var(--l-text-secondary, #6c757d);
}

.calendar-planning-bar__status-state--empty[b-h8d333i2ci],
.calendar-planning-bar__status-state--gaps[b-h8d333i2ci] {
    border-color: color-mix(in srgb, var(--bs-warning, #ffc107) 35%, var(--l-border-subtle, #e9ecef));
    background: color-mix(in srgb, var(--bs-warning, #ffc107) 8%, var(--l-bg-elevated, #fff));
}

.calendar-planning-bar__status-icon[b-h8d333i2ci] {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--l-text-secondary, #6c757d);
}

.calendar-planning-bar__status-text[b-h8d333i2ci] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.calendar-planning-bar__status-text--inline[b-h8d333i2ci] {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
}

.calendar-planning-bar__status-summary[b-h8d333i2ci] {
    line-height: 1.4;
}

.calendar-planning-bar__status-hint[b-h8d333i2ci] {
    color: var(--l-text-secondary, #6c757d);
    font-size: 0.75rem;
    line-height: 1.35;
}

.calendar-planning-bar__gap-card[b-h8d333i2ci] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: var(--l-radius-sm, 6px);
    border: 1px solid color-mix(in srgb, var(--bs-warning, #ffc107) 45%, var(--l-border, #dee2e6));
    background: var(--l-bg-elevated, #fff);
}

.calendar-planning-bar__gap-info[b-h8d333i2ci] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

.calendar-planning-bar__gap-info:hover .calendar-planning-bar__gap-date[b-h8d333i2ci] {
    color: var(--l-primary, #748b74);
}

.calendar-planning-bar__gap-date[b-h8d333i2ci] {
    font-weight: 600;
    white-space: nowrap;
}

.calendar-planning-bar__gap-therapy[b-h8d333i2ci] {
    font-size: 0.75rem;
    color: var(--l-text-secondary, #6c757d);
}

.calendar-planning-bar__gap-reason[b-h8d333i2ci] {
    font-size: 0.6875rem;
    color: var(--l-text-muted, #adb5bd);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-planning-bar__gap-action[b-h8d333i2ci] {
    flex-shrink: 0;
    white-space: nowrap;
}

.calendar-planning-bar__actions[b-h8d333i2ci] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.calendar-planning-bar__actions .btn:disabled[b-h8d333i2ci] {
    opacity: 0.55;
}
/* /Pages/Calendar/CalendarScheduleEditorFormFields.razor.rz.scp.css */
/* Termin-Editor: Panel-Layout und Patient/Serie
 *
 * Schrift-Skala (nur Design-Tokens):
 *   Title  — --l-text-base  Panel-Titel
 *   Body   — --l-text-sm    Inhalt, Controls, Checkbox-/Toggle-Labels
 *   Meta   — --l-text-xs    Feld-Labels, Hinweise, Chips, Meta-Zeilen
 */

.l-sch-editor__panel[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-md);
  padding: var(--l-space-md);
  border-radius: var(--l-radius-lg);
  border: 1px solid var(--l-border-light);
  background: var(--l-bg-elevated);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--l-text) 4%, transparent);
}

.l-sch-editor__panel--therapy[b-b33cdgn8wg] {
  border-color: color-mix(in srgb, var(--l-primary) 22%, var(--l-border-light));
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--l-primary) 5%, var(--l-bg-elevated)) 0%,
    var(--l-bg-elevated) 48%
  );
}

.l-sch-editor__panel--compact[b-b33cdgn8wg] {
  padding: var(--l-space-sm) var(--l-space-md);
  gap: var(--l-space-sm);
}

.l-sch-editor__panel-head[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.l-sch-editor__panel-head--inline[b-b33cdgn8wg] {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--l-space-md);
}

.l-sch-editor__panel-title[b-b33cdgn8wg] {
  font-size: var(--l-text-base);
  font-weight: 600;
  color: var(--l-text-primary, var(--l-text));
  letter-spacing: -0.01em;
}

.l-sch-editor__panel-hint[b-b33cdgn8wg] {
  font-size: var(--l-text-xs);
  color: var(--l-text-secondary);
  line-height: 1.35;
}

.l-sch-editor__booking-control[b-b33cdgn8wg] {
  min-width: min(100%, 11rem);
  max-width: 14rem;
}

.l-sch-editor__field[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 0;
}

.l-sch-editor__panel--appointment[b-b33cdgn8wg] {
  gap: var(--l-space-sm);
}

.l-sch-editor__panel--appointment .l-sch-editor__row--grid-2[b-b33cdgn8wg],
.l-sch-editor__panel--appointment .l-sch-editor__row--date-range[b-b33cdgn8wg] {
  gap: var(--l-space-sm);
}

.l-sch-editor__panel--appointment .l-sch-editor__allday[b-b33cdgn8wg] {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--l-space-sm) var(--l-space-lg);
}

.l-sch-editor__row.e-start-end-row[b-b33cdgn8wg] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--l-space-sm);
  width: 100%;
  align-items: end;
}

.l-sch-editor__computed-end[b-b33cdgn8wg] {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--l-border-light);
  border-radius: var(--l-radius-md);
  background: color-mix(in srgb, var(--l-bg-surface-alt, var(--l-bg-elevated)) 72%, var(--l-bg-elevated));
}

.l-sch-editor__computed-end-value[b-b33cdgn8wg] {
  font-size: var(--l-text-sm);
  color: var(--l-text-primary, var(--l-text));
}

.l-sch-editor__divider[b-b33cdgn8wg] {
  height: 1px;
  margin: 0;
  background: var(--l-border-light);
  border: none;
}

.l-sch-editor__group-label[b-b33cdgn8wg] {
  margin: 0;
  font-size: var(--l-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--l-text-secondary);
}

.l-sch-editor__notes-wrap[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 var(--l-space-xs);
}

.l-sch-editor__notes-label[b-b33cdgn8wg] {
  font-size: var(--l-text-xs);
  font-weight: 600;
  color: var(--l-text-secondary);
  margin: 0;
}

.l-sch-editor__optional[b-b33cdgn8wg] {
  font-weight: 400;
  color: var(--l-text-secondary);
  opacity: 0.85;
}

.l-field-label--required[b-b33cdgn8wg]::after {
  content: " *";
  color: color-mix(in srgb, var(--l-danger, #b42318) 85%, var(--l-text));
  font-weight: 600;
}

/* Patient-Chip im Editor */
.l-sch-editor__row[data-testid="schedule-editor-patient-episode-row"][b-b33cdgn8wg] {
  align-items: start;
}

.l-sch-editor__row[data-testid="schedule-editor-patient-episode-row"] .l-sch-editor__field[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
}

.l-sch-editor__row[data-testid="schedule-editor-patient-episode-row"] .schedule-editor-patient-picker[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
}

.schedule-editor-patient-picker[b-b33cdgn8wg] {
  position: relative;
  min-height: 3.5rem;
}

.schedule-editor-patient-selected[b-b33cdgn8wg] {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  min-height: 3.25rem;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--l-primary) 18%, var(--l-border));
  border-radius: var(--l-radius-md);
  background: var(--l-bg-elevated);
}

.l-sch-editor__row[data-testid="schedule-editor-patient-episode-row"] .schedule-editor-patient-picker:has(.schedule-editor-patient-selected)[b-b33cdgn8wg] {
  min-height: 0;
}

.schedule-editor-patient-selected__avatar[b-b33cdgn8wg] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.125rem;
  border-radius: var(--l-radius-full);
  background: color-mix(in srgb, var(--l-primary) 12%, var(--l-bg-surface-alt));
  color: var(--l-primary);
  flex-shrink: 0;
}

.schedule-editor-patient-selected__info[b-b33cdgn8wg] {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

.schedule-editor-patient-selected__name[b-b33cdgn8wg] {
  font-weight: 600;
  font-size: var(--l-text-sm);
  color: var(--l-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-editor-patient-selected__meta[b-b33cdgn8wg] {
  font-size: var(--l-text-xs);
  color: var(--l-text-secondary);
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.schedule-editor-patient-selected__clear[b-b33cdgn8wg] {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  padding: 0.25rem;
  border: none;
  border-radius: var(--l-radius-sm);
  background: transparent;
  color: var(--l-text-secondary);
  cursor: pointer;
}

.schedule-editor-patient-selected__clear:hover[b-b33cdgn8wg] {
  background: var(--l-bg-hover);
  color: var(--l-text-primary);
}

.schedule-editor-reminder__row[b-b33cdgn8wg] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.schedule-editor-reminder .l-checkbox[b-b33cdgn8wg] {
  margin: 0;
}

.schedule-editor-reminder__sent[b-b33cdgn8wg] {
  font-size: var(--l-text-xs);
  line-height: 1.3;
  color: var(--l-text-secondary);
}

.schedule-editor-reminder .l-checkbox__label[b-b33cdgn8wg],
.l-sch-editor__allday .l-checkbox__label[b-b33cdgn8wg] {
  font-size: var(--l-text-sm);
  font-weight: 500;
}

/* Patient | Abrechnung: feste Zwei-Spalten-Struktur (kein fachlicher Layout-Wechsel).
   Mehrfach-Rezept / Selbstzahler nur rechte Spalte höher; schmal nur per Media Query stapeln. */
.l-sch-editor__patient-recipe-row[b-b33cdgn8wg] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
}

.l-sch-editor__patient-recipe-row .l-sch-editor__field--patient[b-b33cdgn8wg],
.l-sch-editor__patient-recipe-row .l-sch-editor__field--recipe[b-b33cdgn8wg] {
  min-width: 0;
  width: 100%;
  max-width: none;
}

.l-sch-editor__patient-recipe-row .schedule-editor-patient-picker[b-b33cdgn8wg] {
  min-width: 0;
}

@media (max-width: 640px) {
  .l-sch-editor__patient-recipe-row[b-b33cdgn8wg] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
}

/* Laden */
.l-sch-editor__loading[b-b33cdgn8wg] {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
}

.l-sch-editor__loading-bar[b-b33cdgn8wg] {
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: var(--l-radius-full);
  background: linear-gradient(
    90deg,
    var(--l-border-light) 0%,
    var(--l-primary) 50%,
    var(--l-border-light) 100%
  );
  background-size: 200% 100%;
  animation: sch-editor-loading-b-b33cdgn8wg 1.1s ease-in-out infinite;
}

.l-sch-editor__loading-text[b-b33cdgn8wg] {
  font-size: var(--l-text-xs);
  color: var(--l-text-secondary);
}

@keyframes sch-editor-loading-b-b33cdgn8wg {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* Mismatch */
.calendar-editor-episode-mismatch[b-b33cdgn8wg] {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.625rem 0.75rem;
  border-radius: var(--l-radius-md);
  border: 1px solid
    color-mix(in srgb, var(--l-warning, #c9a227) 40%, transparent);
  background: color-mix(
    in srgb,
    var(--l-warning, #f5e6a3) 18%,
    var(--l-bg-elevated)
  );
  width: 100%;
}

.calendar-editor-episode-mismatch__icon[b-b33cdgn8wg] {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--l-warning, #9a7b0a) 90%, var(--l-text));
  margin-top: 0.1rem;
}

.calendar-editor-episode-mismatch__body strong[b-b33cdgn8wg] {
  display: block;
  font-size: var(--l-text-sm);
  margin-bottom: 0.2rem;
}

.calendar-editor-episode-mismatch__body p[b-b33cdgn8wg] {
  font-size: var(--l-text-xs);
  color: var(--l-text-secondary);
  margin: 0;
}

@media only screen and (max-width: 800px) {
  .l-sch-editor__row.e-start-end-row[b-b33cdgn8wg] {
    grid-template-columns: 1fr;
  }
}
/* /Pages/Calendar/CalendarScheduleEventEditorFooter.razor.rz.scp.css */
/* DialogActionFooter bringt Layout; oberer Abstand kommt von .e-schedule-dialog .e-footer-content */
[b-naxpp2p5ag](.dialog-action-footer.l-schedule-editor-footer--minimal) {
  padding-top: 0;
}

[b-naxpp2p5ag](.dialog-action-footer.l-schedule-editor-footer--minimal .l-btn) {
  min-width: 6.5rem;
}
/* /Pages/Calendar/CalendarSidebarPanel.razor.rz.scp.css */
/* Panel-eigene Styles (Calendar.razor.css greift hier nicht wegen CSS-Isolation). */

/* Sidebar: Mini-Kalender oben fix, Therapeutenliste scrollt darunter */
[b-oxrw0gdtt3] .calendar-left-sidebar > .e-sidebar,
[b-oxrw0gdtt3] .calendar-left-sidebar > .e-sidebar > .e-sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.calendar-sidebar-panel-content[b-oxrw0gdtt3] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.calendar-sidebar-layout[b-oxrw0gdtt3] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.calendar-sidebar-pin[b-oxrw0gdtt3] {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 3px 3px 0;
  padding-bottom: 0.35rem;
}

.calendar-sidebar-scroll[b-oxrw0gdtt3] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 3px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--l-text) 15%, transparent) transparent;
}

.calendar-sidebar-scroll[b-oxrw0gdtt3]::-webkit-scrollbar {
  width: 4px;
}

.calendar-sidebar-scroll[b-oxrw0gdtt3]::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, var(--l-text) 15%, transparent);
  border-radius: 2px;
}

.group-management-container[b-oxrw0gdtt3] {
  border: 1px solid color-mix(in srgb, var(--l-border, #d9dee3) 72%, transparent);
  border-radius: 9px;
  background: var(--l-bg-elevated, #fff);
  box-shadow: 0 1px 2px color-mix(in srgb, #000 4%, transparent);
  padding: 0.5rem 0.55rem;
}

.calendar-sidebar-selection-header[b-oxrw0gdtt3] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.calendar-sidebar-selection-header__text[b-oxrw0gdtt3] {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.calendar-sidebar-selection-header__text span[b-oxrw0gdtt3] {
  color: var(--l-text, #1f2933);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.calendar-sidebar-selection-header__text small[b-oxrw0gdtt3] {
  margin-top: 0.12rem;
  color: var(--l-text-muted, #6b7280);
  font-size: 0.66rem;
  font-weight: 600;
}

.calendar-sidebar-clear-selection[b-oxrw0gdtt3],
.calendar-sidebar-create-group[b-oxrw0gdtt3] {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.calendar-sidebar-clear-selection[b-oxrw0gdtt3] {
  min-height: 25px;
  padding: 0 0.52rem;
  border: 1px solid color-mix(in srgb, var(--l-border, #d9dee3) 76%, transparent);
  background: color-mix(in srgb, var(--l-bg, #f8fafc) 88%, white 12%);
  color: var(--l-text-secondary, #4b5563);
  font-size: 0.69rem;
}

.calendar-sidebar-clear-selection:not(:disabled):hover[b-oxrw0gdtt3],
.calendar-sidebar-clear-selection:not(:disabled):focus-visible[b-oxrw0gdtt3] {
  border-color: color-mix(in srgb, var(--l-primary, #6d8068) 35%, var(--l-border, #d9dee3));
  background: color-mix(in srgb, var(--l-primary, #6d8068) 8%, var(--l-bg-elevated, #fff));
  color: var(--l-primary, #6d8068);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-primary, #6d8068) 12%, transparent);
}

.calendar-sidebar-clear-selection:disabled[b-oxrw0gdtt3] {
  cursor: not-allowed;
  opacity: 0.48;
}

.calendar-sidebar-create-group[b-oxrw0gdtt3] {
  min-height: 24px;
  margin-top: 0.35rem;
  padding: 0;
  background: transparent;
  color: color-mix(in srgb, var(--l-primary, #6d8068) 82%, var(--l-text-secondary, #4b5563));
  font-size: 0.69rem;
  box-shadow: none;
}

.calendar-sidebar-create-group:hover[b-oxrw0gdtt3],
.calendar-sidebar-create-group:focus-visible[b-oxrw0gdtt3] {
  background: transparent;
  color: var(--l-primary, #6d8068);
  text-decoration: underline;
  box-shadow: none;
  transform: none;
}

/* Mini-Kalender: KW-Spalte (Syncfusion WeekNumber) als eigene graue Spalte */
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar .e-content table {
  border-collapse: separate;
  border-spacing: 0;
}

[b-oxrw0gdtt3] .selected-date-calendar.e-calendar .e-week-header,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar thead th:first-child {
  background: var(--l-bg-elevated, #eceff1) !important;
  border-right: 1px solid var(--l-border-light, #dee2e6);
  box-shadow: inset -1px 0 0 color-mix(in srgb, var(--l-border, #ced4da) 35%, transparent);
}

[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number {
  background: var(--l-bg-elevated, #eceff1) !important;
  border-right: 1px solid var(--l-border-light, #dee2e6);
  box-shadow: inset -1px 0 0 color-mix(in srgb, var(--l-border, #ced4da) 35%, transparent);
  vertical-align: middle;
  width: 2rem;
  min-width: 2rem;
  padding: 0 0.15rem;
  cursor: default;
}

[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number span,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number span.e-day,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar .e-week-number span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  color: var(--l-primary, #6c757d);
  opacity: 0.7;
}

/* Syncfusion-Standard-Hover auf KW-Zellen unterdrücken */
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number:hover,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number:hover span,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number:hover span.e-day,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number:focus span.e-day {
  background: var(--l-bg-elevated, #eceff1) !important;
  cursor: default;
}

[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number:hover span,
[b-oxrw0gdtt3] .selected-date-calendar.e-calendar td.e-week-number:hover span.e-day {
  background: transparent !important;
  color: var(--l-primary, #6c757d);
  opacity: 0.7;
}
/* /Pages/Calendar/ReservationDurationDialog.razor.rz.scp.css */
.reservation-dialog-content[b-ntqjv9f5vz] {
  padding: 1rem 0;
}

.reservation-dialog-hint[b-ntqjv9f5vz] {
  font-size: 0.875rem;
  color: var(--l-text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* /Pages/Calendar/ScheduleEditorRecipePanel.razor.rz.scp.css */
/* Rezept-/Abrechnungspanel im Termin-Editor
 *
 * Schrift-Skala (wie FormFields):
 *   Body — --l-text-sm   Toggle, Checkbox-Labels, Empty-Titel
 *   Meta — --l-text-xs   Hinweise, Pills, Chips, Meta-Zeilen
 */

.schedule-editor-recipe-panel[b-bbmg8tg7t3] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.schedule-editor-recipe-panel__head[b-bbmg8tg7t3] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 1.25rem;
}

.schedule-editor-recipe-panel__add-btn[b-bbmg8tg7t3] {
  border: none;
  background: transparent;
  color: var(--l-primary);
  font-size: var(--l-text-xs);
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.schedule-editor-recipe-panel__add-btn:hover[b-bbmg8tg7t3] {
  text-decoration: underline;
}

.schedule-editor-recipe-panel__loading[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--l-text-xs);
  color: var(--l-text-secondary);
}

.schedule-editor-recipe-panel__spin[b-bbmg8tg7t3] {
  animation: schedule-editor-recipe-spin-b-bbmg8tg7t3 1s linear infinite;
}

@keyframes schedule-editor-recipe-spin-b-bbmg8tg7t3 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.schedule-editor-recipe-panel__body[b-bbmg8tg7t3] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

/* —— Abrechnungsart: Rezept | Selbstzahler —— */
.schedule-editor-billing-mode[b-bbmg8tg7t3] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--l-border-light, var(--l-border));
  border-radius: var(--l-radius-md);
  overflow: hidden;
  background: var(--l-bg-elevated);
}

.schedule-editor-billing-mode__option[b-bbmg8tg7t3] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  margin: 0;
  padding: 0.2rem 0.65rem;
  cursor: pointer;
  background: transparent;
  border-right: 1px solid var(--l-border-light, var(--l-border));
  transition: background 0.12s ease, color 0.12s ease;
}

.schedule-editor-billing-mode__option:last-child[b-bbmg8tg7t3] {
  border-right: none;
}

.schedule-editor-billing-mode__option--active[b-bbmg8tg7t3] {
  background: color-mix(in srgb, var(--l-primary) 10%, var(--l-bg-elevated));
  color: var(--l-primary);
}

.schedule-editor-billing-mode__input[b-bbmg8tg7t3] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.schedule-editor-billing-mode__label[b-bbmg8tg7t3] {
  font-size: var(--l-text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.schedule-editor-selfpay-panel[b-bbmg8tg7t3] {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--l-border-light, var(--l-border));
  border-radius: var(--l-radius-md);
  background: color-mix(in srgb, var(--l-bg-surface-alt, var(--l-bg-surface)) 65%, var(--l-bg-elevated));
}

.schedule-editor-selfpay-panel__text[b-bbmg8tg7t3] {
  margin: 0;
  font-size: var(--l-text-xs);
  line-height: 1.45;
  color: var(--l-text-secondary);
}

.schedule-editor-passive-followup[b-bbmg8tg7t3] {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.15rem;
}

.schedule-editor-passive-followup__hint[b-bbmg8tg7t3] {
  font-size: var(--l-text-xs);
  line-height: 1.35;
  color: var(--l-text-secondary);
  padding-left: 1.5rem;
}

.schedule-editor-passive-followup .l-checkbox__label[b-bbmg8tg7t3] {
  font-size: var(--l-text-sm);
  font-weight: 500;
}

/* —— Mehrfach-Rezept: Pills —— */
.schedule-editor-recipe-pills[b-bbmg8tg7t3] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.schedule-editor-recipe-pill[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border: 1px solid var(--l-border-light, var(--l-border));
  border-radius: var(--l-radius-md);
  background: var(--l-bg-elevated);
  overflow: hidden;
}

.schedule-editor-recipe-pill--active[b-bbmg8tg7t3] {
  border-color: color-mix(in srgb, var(--l-primary) 45%, var(--l-border));
  background: color-mix(in srgb, var(--l-primary) 6%, var(--l-bg-elevated));
}

.schedule-editor-recipe-pill__select[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.3rem 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--l-text-primary);
  font: inherit;
}

.schedule-editor-recipe-pill__type[b-bbmg8tg7t3] {
  font-size: var(--l-text-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--l-primary);
  flex-shrink: 0;
}

.schedule-editor-recipe-pill__date[b-bbmg8tg7t3] {
  font-size: var(--l-text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--l-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-editor-recipe-pill__remove[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  border: none;
  border-left: 1px solid var(--l-border-light, var(--l-border));
  background: transparent;
  color: var(--l-text-secondary);
  cursor: pointer;
}

.schedule-editor-recipe-pill__remove:hover[b-bbmg8tg7t3] {
  background: var(--l-bg-hover);
  color: var(--l-text-primary);
}

/* —— Detail (1 Rezept oder fokussiertes) —— */
.schedule-editor-recipe-detail[b-bbmg8tg7t3] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid color-mix(in srgb, var(--l-primary) 14%, var(--l-border));
  border-radius: var(--l-radius-md);
  background: var(--l-bg-elevated);
}

.schedule-editor-recipe-detail__head[b-bbmg8tg7t3] {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.schedule-editor-recipe-detail__info[b-bbmg8tg7t3] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  flex: 1;
  min-width: 0;
}

.schedule-editor-recipe-detail__meta[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  font-size: var(--l-text-xs);
  line-height: 1.4;
  color: var(--l-text-secondary);
}

.schedule-editor-recipe-detail__date[b-bbmg8tg7t3] {
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.schedule-editor-recipe-detail__sep[b-bbmg8tg7t3] {
  opacity: 0.55;
  flex-shrink: 0;
}

.schedule-editor-recipe-detail__diagnosis[b-bbmg8tg7t3] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.schedule-editor-recipe-detail__diagnosis-line[b-bbmg8tg7t3] {
  font-size: var(--l-text-xs);
  line-height: 1.4;
  color: var(--l-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-editor-recipe-detail__remove[b-bbmg8tg7t3] {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.0625rem;
  padding: 0.25rem;
  border: none;
  border-radius: var(--l-radius-sm);
  background: transparent;
  color: var(--l-text-secondary);
  cursor: pointer;
}

.schedule-editor-recipe-detail__remove:hover[b-bbmg8tg7t3] {
  background: var(--l-bg-hover);
  color: var(--l-text-primary);
}

.schedule-editor-recipe-detail__positions[b-bbmg8tg7t3] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.schedule-editor-recipe-detail__positions-hint[b-bbmg8tg7t3] {
  flex: 1 1 100%;
  font-size: var(--l-text-xs);
  line-height: 1.4;
  color: var(--l-text-secondary);
}

.schedule-editor-recipe-empty[b-bbmg8tg7t3] {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.625rem;
  border: 1px dashed color-mix(in srgb, var(--l-border) 85%, transparent);
  border-radius: var(--l-radius-md);
  background: color-mix(in srgb, var(--l-bg-surface) 50%, transparent);
}

.schedule-editor-recipe-empty__title[b-bbmg8tg7t3] {
  font-size: var(--l-text-sm);
  font-weight: 600;
  color: var(--l-text-primary);
}

.schedule-editor-recipe-empty__hint[b-bbmg8tg7t3] {
  font-size: var(--l-text-xs);
  line-height: 1.4;
  color: var(--l-text-secondary);
}

.recipe-position-chip[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 1.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--l-radius-full);
  border: 1px solid var(--l-border-light);
  background: var(--l-bg-elevated);
  font-size: var(--l-text-xs);
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.recipe-position-chip:hover[b-bbmg8tg7t3] {
  border-color: color-mix(in srgb, var(--l-primary) 40%, var(--l-border));
}

.recipe-position-chip--selected[b-bbmg8tg7t3] {
  border-color: var(--l-primary);
  background: color-mix(in srgb, var(--l-primary) 10%, var(--l-bg-elevated));
  color: var(--l-primary);
}

.recipe-position-chip--readonly[b-bbmg8tg7t3] {
  cursor: default;
}

.recipe-position-chip--readonly:hover[b-bbmg8tg7t3] {
  border-color: var(--l-primary);
  background: color-mix(in srgb, var(--l-primary) 10%, var(--l-bg-elevated));
}

.recipe-position-chip--passive-locked[b-bbmg8tg7t3] {
  cursor: not-allowed;
  opacity: 0.55;
  border-style: dashed;
}

.recipe-position-chip--passive-locked:hover[b-bbmg8tg7t3] {
  border-color: var(--l-border-light);
  background: var(--l-bg-elevated);
}

.recipe-position-code[b-bbmg8tg7t3] {
  font-weight: 700;
}

.recipe-position-qty[b-bbmg8tg7t3] {
  opacity: 0.85;
  font-size: inherit;
}

.recipe-position-check[b-bbmg8tg7t3] {
  display: inline-flex;
  margin-left: 0.0625rem;
}

.schedule-editor-recipe-panel__add-picker[b-bbmg8tg7t3] {
  min-width: 0;
}

.schedule-editor-recipe-add[b-bbmg8tg7t3] {
  width: 100%;
}

.schedule-editor-recipe-type-badge[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  height: 1.25rem;
  padding: 0 0.5rem;
  border-radius: var(--l-radius-full);
  background-color: rgba(0, 32, 25, 0.1);
  color: var(--l-primary);
  font-size: var(--l-text-xs);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.schedule-editor-recipe-add-item[b-bbmg8tg7t3] {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  min-width: 0;
}

.schedule-editor-recipe-add-item__meta[b-bbmg8tg7t3] {
  font-size: var(--l-text-xs);
  line-height: 1.4;
  color: var(--l-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:global(.schedule-editor-recipe-add.e-ddl.e-popup .e-list-item)[b-bbmg8tg7t3] {
  display: flex !important;
  align-items: center !important;
  padding: 0.3125rem 0.5rem !important;
  line-height: normal !important;
  min-height: 2rem;
}

:global(.schedule-editor-recipe-add.e-ddl.e-popup .e-list-item .e-list-text)[b-bbmg8tg7t3],
:global(.schedule-editor-recipe-add.e-ddl.e-popup .e-list-item .e-text-content)[b-bbmg8tg7t3] {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  line-height: normal !important;
}

:global(.schedule-editor-recipe-add.e-ddl.e-popup .schedule-editor-recipe-add-item)[b-bbmg8tg7t3] {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  min-width: 0;
  line-height: normal;
}

:global(.schedule-editor-recipe-add.e-ddl.e-popup .schedule-editor-recipe-type-badge)[b-bbmg8tg7t3] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  padding: 0 0.5rem;
  line-height: 1;
  margin: 0;
}
/* /Pages/Dev/DocumentRecipeIntake.razor.rz.scp.css */
.document-recipe-intake[b-bt1v7g5e0o] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: calc(100vh - 6rem);
    outline: none;
}

.document-recipe-intake__header[b-bt1v7g5e0o] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.document-recipe-intake__title[b-bt1v7g5e0o] {
    font-size: 1.35rem;
    margin: 0;
}

.document-recipe-intake__title-row[b-bt1v7g5e0o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
}

.dri-tour-start[b-bt1v7g5e0o] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dri-tour-anchor[b-bt1v7g5e0o] {
    scroll-margin-top: 5rem;
}

.dri-score[b-bt1v7g5e0o] {
    min-width: 11rem;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--l-primary-soft, #e8f0ed), var(--l-surface, #fff));
    border: 1px solid var(--l-border-light, #dde3e0);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dri-score__top[b-bt1v7g5e0o] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.dri-score__pts[b-bt1v7g5e0o] {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--l-primary, #002019);
}

.dri-score__lbl[b-bt1v7g5e0o] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--l-text-secondary, #5c6b66);
}

.dri-score__counts[b-bt1v7g5e0o] {
    font-size: 0.8rem;
    margin-left: auto;
}

.dri-score__bar[b-bt1v7g5e0o] {
    height: 5px;
    border-radius: 99px;
    background: rgba(0, 32, 25, 0.08);
    overflow: hidden;
}

.dri-score__bar > span[b-bt1v7g5e0o] {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--l-warning, #c9a227);
    transition: width 0.35s ease;
}

.dri-score__pending[b-bt1v7g5e0o],
.dri-score__cheer[b-bt1v7g5e0o] {
    font-size: 0.78rem;
}

.dri-score__cheer[b-bt1v7g5e0o] {
    font-weight: 600;
    color: var(--l-primary, #002019);
    animation: dri-cheer-b-bt1v7g5e0o 0.45s ease;
}

@keyframes dri-cheer-b-bt1v7g5e0o {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.dri-done-score[b-bt1v7g5e0o] {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.document-recipe-intake__meta[b-bt1v7g5e0o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--l-surface-muted, #f4f6f5);
    border-radius: 6px;
}

.document-recipe-intake__desc[b-bt1v7g5e0o] {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-recipe-intake__body[b-bt1v7g5e0o] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 1rem;
    flex: 1;
    min-height: 0;
}

@media (max-width: 1100px) {
    .document-recipe-intake__body[b-bt1v7g5e0o] {
        grid-template-columns: 1fr;
    }
}

.document-recipe-intake__preview[b-bt1v7g5e0o] {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    border: 1px solid var(--l-border-light, #dde3e0);
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}

.preview-toolbar[b-bt1v7g5e0o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.6rem;
    background: var(--l-surface, #fff);
    border-bottom: 1px solid var(--l-border-light, #dde3e0);
}

.preview-toolbar__actions[b-bt1v7g5e0o] {
    display: flex;
    gap: 0.25rem;
}

.preview-frame[b-bt1v7g5e0o] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 0.5rem;
    min-height: 360px;
}

.preview-image[b-bt1v7g5e0o] {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    transition: transform 0.15s ease;
}

.preview-iframe[b-bt1v7g5e0o] {
    width: 100%;
    height: 75vh;
    border: none;
    background: #fff;
}

.preview-placeholder[b-bt1v7g5e0o] {
    color: #aaa;
    padding: 2rem;
}

.dri-issue-date[b-bt1v7g5e0o] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dri-issue-date__part[b-bt1v7g5e0o] {
    width: 3.25rem;
    text-align: center;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    -moz-appearance: textfield;
}

.dri-issue-date__part[b-bt1v7g5e0o]::-webkit-outer-spin-button,
.dri-issue-date__part[b-bt1v7g5e0o]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dri-issue-date__year[b-bt1v7g5e0o] {
    width: 3.5rem;
}

.dri-issue-date__sep[b-bt1v7g5e0o] {
    color: var(--l-text-muted, #6c757d);
    font-weight: 500;
    user-select: none;
}

.document-recipe-intake__form[b-bt1v7g5e0o] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid var(--l-border-light, #dde3e0);
    border-radius: 8px;
    background: var(--l-surface, #fff);
}

.form-block[b-bt1v7g5e0o] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.therapy-add-row[b-bt1v7g5e0o] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.therapy-qty[b-bt1v7g5e0o] {
    width: 4rem;
}

.therapy-select[b-bt1v7g5e0o] {
    flex: 1;
    min-width: 0;
}

.therapy-pills[b-bt1v7g5e0o] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.therapy-compact__pill-group[b-bt1v7g5e0o] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
}

.therapy-doppel-add[b-bt1v7g5e0o] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px dashed var(--l-border, #c5d0cc);
    border-radius: 50%;
    background: transparent;
    color: var(--l-text-secondary, #5c6b66);
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.therapy-doppel-add:hover[b-bt1v7g5e0o] {
    border-color: var(--l-primary, #002019);
    color: var(--l-primary, #002019);
    opacity: 1;
}

.therapy-pill[b-bt1v7g5e0o] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: var(--l-primary-soft, rgba(0, 32, 25, 0.08));
    font-size: 0.85rem;
}

.therapy-pill__remove[b-bt1v7g5e0o] {
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.15rem;
    color: var(--l-text-secondary, #5c6b66);
}

.duplicate-warning[b-bt1v7g5e0o] {
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--l-warning-border, #ffc107);
    background: var(--l-warning-soft, #fff8e1);
    color: var(--l-text, #1a1a1a);
}

.duplicate-warning__list[b-bt1v7g5e0o] {
    margin: 0;
    padding-left: 1.1rem;
}

.duplicate-warning__list li + li[b-bt1v7g5e0o] {
    margin-top: 0.35rem;
}

.document-recipe-intake__actions[b-bt1v7g5e0o] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.dri-episode-link__choices[b-bt1v7g5e0o] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.dri-episode-link__option[b-bt1v7g5e0o] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.dri-episode-link__option input[type="radio"][b-bt1v7g5e0o] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.dri-episode-link__option--select .dri-episode-link__select-wrap[b-bt1v7g5e0o] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.dri-patient-recipes[b-bt1v7g5e0o] {
    margin-top: 0.65rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--l-border-light, #dde3e0);
}

.dri-patient-recipes__head[b-bt1v7g5e0o] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.dri-patient-recipes__title[b-bt1v7g5e0o] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--l-text-secondary, #5c6b66);
}

.dri-patient-recipes__list[b-bt1v7g5e0o] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 14rem;
    overflow-y: auto;
}

.dri-recipe-row[b-bt1v7g5e0o] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.15rem 0.5rem;
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
    background: var(--l-surface-muted, #f6f8f7);
    border: 1px solid transparent;
    font-size: 0.78rem;
    line-height: 1.25;
}

.dri-recipe-row--same-date[b-bt1v7g5e0o] {
    border-color: var(--l-warning-border, #ffc107);
    background: var(--l-warning-soft, #fff8e1);
}

.dri-recipe-row__main[b-bt1v7g5e0o] {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    align-items: baseline;
    min-width: 0;
}

.dri-recipe-row__date[b-bt1v7g5e0o] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.dri-recipe-row__type[b-bt1v7g5e0o] {
    color: var(--l-text-secondary, #5c6b66);
}

.dri-recipe-row__pos[b-bt1v7g5e0o] {
    font-variant-numeric: tabular-nums;
}

.dri-recipe-row__dx[b-bt1v7g5e0o] {
    flex: 1 1 100%;
    color: var(--l-text-muted, #6c757d);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dri-recipe-row__meta[b-bt1v7g5e0o] {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dri-recipe-row__flag[b-bt1v7g5e0o] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--l-warning-text, #856404);
}

.dri-recipe-row__scan[b-bt1v7g5e0o] {
    font-size: 0.72rem;
    color: var(--l-text-muted, #6c757d);
}

.dri-recipe-row__scan--here[b-bt1v7g5e0o] {
    color: var(--l-success, #198754);
    font-weight: 600;
}

.dri-recipe-row__scan--none[b-bt1v7g5e0o] {
    font-style: italic;
}

.dri-recipe-row__confirm[b-bt1v7g5e0o] {
    grid-column: 1 / -1;
    grid-row: 3;
    color: var(--l-text, #1a1a1a);
}

.dri-recipe-row__link[b-bt1v7g5e0o] {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    white-space: nowrap;
}

.document-recipe-intake__done[b-bt1v7g5e0o] {
    text-align: center;
    padding: 4rem 1rem;
}

.document-recipe-intake__done .done-icon[b-bt1v7g5e0o] {
    width: 48px;
    height: 48px;
    color: var(--l-success, #198754);
    margin-bottom: 1rem;
}
/* /Pages/FakturaVorrat.razor.rz.scp.css */
.faktura-vorrat-page[b-6wvrq47qjw] {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: calc(100vh - 56px - 2 * var(--l-space-sm, 0.5rem));
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
}

.faktura-vorrat-page > .l-page__header[b-6wvrq47qjw],
.faktura-vorrat-page > .filter-bar[b-6wvrq47qjw] {
    flex-shrink: 0;
}

.faktura-vorrat-page > .filter-bar[b-6wvrq47qjw] {
    margin-bottom: var(--l-space-sm, 0.5rem);
}

.faktura-vorrat-page__list[b-6wvrq47qjw] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.faktura-vorrat-page__list[b-6wvrq47qjw]  .faktura-vorrat-list {
    flex: 1;
    min-height: 0;
    height: 100%;
}
