.leave-page {
  max-width: 1100px;
  margin: 0 auto;
  color: #172033;
}
.leave-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.leave-head h1 {
  font-size: 28px;
  letter-spacing: -0.6px;
  margin: 0;
}
.leave-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #526078;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.time-page .time-leave-card {
  padding: 8px;
}
.time-page .time-leave-link {
  text-decoration: none;
}
.leave-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: start;
}
.leave-stack {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.leave-card {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 20px;
  box-shadow: 0 3px 12px #17203306;
  overflow: hidden;
  min-width: 0;
}
.leave-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 14px;
}
.leave-card h2 {
  font-size: 18px;
  margin: 0;
}
.leave-pad {
  padding: 0 20px 20px;
}
.leave-stat {
  font-size: 36px;
  font-weight: 730;
  letter-spacing: -1px;
  line-height: 1.2;
}
.leave-stat small {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 500;
  color: #526078;
}
.leave-meta {
  color: #526078;
  font-size: 13px;
  line-height: 1.5;
}
.leave-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.leave-stats > div {
  display: grid;
  gap: 4px;
}
.leave-stats strong {
  font-size: 18px;
}
.leave-stats span {
  font-size: 12px;
  color: #526078;
}
.leave-progress {
  height: 7px;
  background: #f0f3f7;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
  display: flex;
}
.leave-progress span:first-child {
  background: #426e80;
}
.leave-progress span:last-child {
  background: #a4c3ce;
}
.leave-list {
  padding: 8px;
  display: grid;
  gap: 8px;
  background: #f5f7fa;
  border-top: 1px solid #e5e9f0;
}
.leave-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  text-align: left;
  width: 100%;
  background: linear-gradient(120deg, #fff, #f9fbfd);
  border: 1px solid #e0e6ed;
  border-radius: 13px;
  box-shadow: 0 1px 3px #1720330b;
  color: #172033;
}
.leave-row:hover {
  background: #f1f6fb;
  border-color: #b9c9d8;
}
.leave-row .copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
  overflow-wrap: anywhere;
}
.leave-row strong {
  font-size: 14px;
}
.leave-row .arrow {
  color: #67758a;
}
.leave-mark {
  height: 40px;
  width: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eaf1f5;
  color: #335d70;
  font-weight: 650;
}
.leave-badge {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  color: #496075;
  background: #edf2f7;
  border-radius: 20px;
  padding: 5px 8px;
  display: inline-block;
  width: fit-content;
}
.leave-badge.warn {
  background: #fff0da;
  color: #875216;
}
.leave-badge.good {
  background: #e8f4ef;
  color: #236b52;
}
.leave-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.leave-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.leave-actions > * {
  flex: 1;
}
.leave-page button,
.leave-dialog button {
  min-height: 44px;
}
.leave-page .primary-button,
.leave-dialog .primary-button {
  background: #bb443c;
  border-color: #bb443c;
  color: white;
}
.leave-empty {
  padding: 24px;
  color: #526078;
  text-align: center;
}
.leave-note {
  border: 1px solid #d8e5ec;
  background: #f1f7fa;
  padding: 14px;
  border-radius: 13px;
  line-height: 1.5;
  font-size: 14px;
}
.leave-note.warn {
  background: #fff8ec;
  border-color: #e8cfa5;
  color: #754613;
}
.leave-note p {
  margin: 6px 0 0;
}
.leave-note strong {
  display: block;
}
.leave-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  margin: 0;
}
.leave-summary dd {
  font-weight: 650;
  margin: 0;
  text-align: right;
}
.leave-summary dt {
  color: #526078;
}
.leave-divider {
  height: 1px;
  background: #e5eaf0;
  margin: 18px 0;
}
.leave-mini-calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 12px 0 20px;
}
.leave-mini-calendar > div {
  border: 1px solid #dee5ed;
  border-radius: 10px;
  display: grid;
  gap: 5px;
  padding: 10px 4px;
  text-align: center;
  font-size: 12px;
  color: #526078;
}
.leave-mini-calendar strong {
  font-size: 17px;
  color: #172033;
}
.leave-mini-calendar .occupied {
  background: #edf5f8;
  border-color: #bdd2dc;
}
.leave-mini-calendar .clash {
  background: #fff4e4;
  border-color: #dfbf8d;
}
.leave-mini-calendar span {
  font-size: 11px;
}
.leave-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #dce3eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 65px #17203326;
  color: #172033;
}
.leave-dialog::backdrop {
  background: #18253a66;
}
.leave-dialog form {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 30px);
}
.leave-dialog-head {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5eaf0;
}
.leave-dialog-head h2 {
  font-size: 21px;
  margin: 0;
}
.leave-dialog-body {
  padding: 22px;
  overflow: auto;
  min-height: 0;
  display: grid;
  gap: 18px;
}
.leave-dialog-foot {
  padding: 16px 22px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #e5eaf0;
  background: #fbfcfd;
}
.leave-dialog-foot button {
  flex: 1;
}
.leave-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.leave-dialog label.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}
.leave-dialog input,
.leave-dialog select,
.leave-dialog textarea {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 10px;
  font: inherit;
  color: #172033;
  background: white;
}
.leave-dialog textarea {
  min-height: 90px;
  resize: vertical;
}
.leave-dialog fieldset {
  border: 1px solid #dce3ed;
  border-radius: 13px;
  padding: 10px 14px;
}
.leave-dialog legend {
  padding: 0 5px;
  font-weight: 650;
}
.leave-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
}
.leave-check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: none;
}
.leave-dialog .leave-error {
  color: #9e302b;
  background: #fff1f0;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
}
.leave-error:empty {
  display: none;
}
#leaveStatus {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 12px;
  background: #173c32;
  color: #fff;
  z-index: 50;
  box-shadow: 0 8px 28px #17203320;
  max-width: calc(100% - 32px);
  text-align: center;
  font-size: 14px;
  pointer-events: none;
}
#leaveStatus:empty {
  display: none;
}
:where(.leave-page, .leave-dialog)
  :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.leave-dialog [hidden] {
  display: none;
}
.leave-day {
  font-size: 12px;
  width: 40px;
  flex: none;
  text-align: center;
  color: #526078;
}
.leave-day strong {
  display: block;
  font-size: 19px;
}
.leave-link {
  background: none;
  border: 0;
  text-align: left;
  color: #335d70;
  padding: 0;
  font-weight: 650;
}
.leave-ledger {
  margin: 0;
  padding-left: 20px;
  color: #526078;
  line-height: 1.8;
  font-size: 13px;
}
@media (max-width: 1100px) {
  .leave-grid {
    grid-template-columns: 1fr;
  }
  .leave-stat {
    font-size: 32px;
  }
  .leave-head h1 {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  .leave-head {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }
  .leave-head h1 {
    font-size: 24px;
  }
  .leave-head .secondary-button {
    padding: 9px 12px;
  }
  .leave-grid,
  .leave-stack {
    gap: 18px;
  }
  .leave-card-head {
    padding: 18px 16px 12px;
  }
  .leave-pad {
    padding: 0 16px 18px;
  }
  .leave-card {
    border-radius: 17px;
  }
  .leave-fields {
    grid-template-columns: 1fr;
  }
  .leave-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }
  .leave-dialog form {
    max-height: calc(100dvh - 18px);
  }
  .leave-dialog-head {
    padding: 16px;
  }
  .leave-dialog-body {
    padding: 18px 16px;
  }
  .leave-dialog-foot {
    padding: 14px 16px;
  }
  #leaveStatus {
    bottom: 84px;
  }
  .leave-row {
    padding: 12px;
  }
  .leave-mark {
    width: 34px;
    height: 38px;
  }
  .leave-stats strong {
    font-size: 17px;
  }
  .leave-page .leave-back {
    font-size: 13px;
  }
}
/* Shared interactions and a directly switchable visual comparison. */
.leave-extra-button {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #dce5f3;
  border-radius: 12px;
  background: #f8faff;
  color: #2456bd;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}
.leave-legal {
  font-size: 13px;
  color: #526078;
}
.leave-legal summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 650;
}
.leave-legal p {
  line-height: 1.5;
  margin: 8px 0;
}
.leave-top {
  display: flex;
  flex-direction: column;
}
.leave-back {
  order: -1;
}
.leave-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.leave-plan-head strong {
  font-size: 15px;
}
.leave-day-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 3px 8px;
  margin-top: 8px;
  scrollbar-width: thin;
}
.leave-strip-day {
  position: relative;
  flex: 0 0 48px;
  min-width: 48px;
  min-height: 60px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid #d8e2f0;
  border-radius: 11px;
  background: #f8faff;
  color: #172033;
  font: inherit;
  cursor: pointer;
}
.leave-strip-day > span {
  font-size: 11px;
  line-height: 15px;
  color: #526078;
}
.leave-strip-day > strong {
  font-size: 17px;
  line-height: 21px;
  font-weight: 650;
}
.leave-strip-day i {
  position: absolute;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #245ace;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 650;
  font-style: normal;
}
.leave-strip-day[aria-pressed='true'] {
  background: #e4edff;
  border-color: #3266db;
  box-shadow: inset 0 0 0 1px #3266db;
  color: #214b9e;
}
.leave-page {
  max-width: 980px;
  margin: 0;
}
.has-common-shell .main-content .leave-head.page-header {
  min-height: 0;
  margin: 0 0 4px;
  align-items: center;
  gap: 12px;
}
.leave-head h1 {
  font-size: 28px;
  letter-spacing: normal;
  line-height: 1.25;
  margin: 0;
}
.leave-back {
  order: 0;
  min-height: 44px;
  margin-bottom: 16px;
  font-size: 14px;
}
.leave-grid,
.leave-stack {
  gap: 16px;
}
.leave-card {
  border: 1px solid #e0e6f0;
  border-radius: 22px;
  box-shadow:
    0 8px 24px #182a4707,
    0 1px 2px #182a4708;
  padding: 14px;
}
.leave-card-head {
  padding: 0 0 14px;
  min-height: 32px;
}
.leave-pad {
  padding: 0;
}
.leave-list {
  padding: 8px;
  gap: 8px;
  background: #edf2fa;
  border: 0;
  border-radius: 13px;
}
.leave-row {
  min-height: 0;
  padding: 14px;
  border: 1px solid #dce5f3;
  background: #f8faff;
  box-shadow: 0 1px 3px #182a4710;
  border-radius: 13px;
}
.leave-row:hover {
  background: #edf3ff;
}
.leave-mark {
  background: #eef3ff;
  color: #245ace;
  border-radius: 50%;
  font-size: 13px;
}
.leave-meta {
  font-size: 13px;
}
.leave-badge {
  color: #245ace;
  background: #eef3ff;
}
.leave-badge.warn {
  color: #8b3d19;
  background: #fff1e7;
}
.leave-badge.good {
  color: #28694f;
  background: #e8f4ef;
}
.leave-plan {
  padding-bottom: 8px;
}
.leave-progress span:first-child {
  background: #3266db;
}
.leave-progress span:last-child {
  background: #b5c9f5;
}
.leave-note {
  background: #f4f7fc;
  border-color: #dce5f3;
}
.leave-note.warn {
  background: #fff8ec;
  border-color: #e8cfa5;
}
.leave-dialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: 22px;
  overflow: hidden;
}
.leave-dialog-head {
  padding: 20px 24px;
  border: 0;
}
.leave-dialog-head h2 {
  font-size: 22px;
}
.leave-dialog-body {
  padding: 20px 24px;
  gap: 20px;
}
.leave-dialog-foot {
  padding: 16px 24px;
  background: white;
  border: 0;
}
.leave-dialog-foot button {
  min-width: 0;
  white-space: normal;
  line-height: 1.35;
}
.leave-dialog h2:focus {
  outline: none;
}
.leave-dialog input:focus,
.leave-dialog textarea:focus {
  box-shadow: none;
}
.leave-dialog :focus-visible {
  outline-width: 2px;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .leave-head h1 {
    font-size: 24px;
  }
  .leave-card {
    padding: 14px;
  }
  .leave-dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }
  .leave-dialog-head {
    padding: 14px 16px;
  }
  .leave-dialog-head h2 {
    font-size: 20px;
  }
  .leave-dialog-body {
    padding: 18px 16px;
    gap: 18px;
  }
  .leave-dialog-foot {
    padding: 14px 16px max(16px, env(safe-area-inset-bottom));
  }
  .leave-dialog-foot button {
    padding-left: 10px;
    padding-right: 10px;
  }
}

#reportFile .leave-note {
  overflow-wrap: anywhere;
}
/* Compact employee view: balance, decisions, entries. */
.leave-page.leave-personal-simple {
  max-width: 780px;
}
.has-common-shell .main-content .leave-personal-simple .leave-head.page-header {
  margin-bottom: 20px;
}
.leave-personal-content {
  display: grid;
  gap: 16px;
}
.leave-personal-simple .leave-balance-card {
  padding: 18px;
}
.leave-balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.leave-balance {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 0 0 4px;
  color: #172033;
  font: inherit;
  cursor: pointer;
}
.leave-balance + .leave-balance {
  padding-left: 18px;
  border-left: 1px solid #e0e6f0;
  border-radius: 0;
}
.leave-balance-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
}
.leave-balance-title > span {
  color: #526078;
  font-size: 19px;
  font-weight: 400;
}
.leave-balance .leave-stat {
  font-size: 36px;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: -0.6px;
}
.leave-balance .leave-stat small {
  font-size: 14px;
}
.leave-balance .leave-meta {
  font-size: 13px;
  font-weight: 400;
}
.leave-main-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.leave-main-actions button {
  white-space: normal;
  line-height: 1.35;
  padding: 12px;
  min-height: 48px;
}
.leave-simple-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.leave-simple-row .leave-badge {
  font-size: 11px;
  padding: 4px 8px;
}
.leave-simple-row .copy {
  gap: 6px;
}
.leave-simple-row .leave-meta {
  font-weight: 400;
}
.leave-entry-count {
  font-size: 13px;
  color: #526078;
}
.leave-personal-footer {
  display: flex;
  justify-content: flex-end;
}
.leave-personal-footer button {
  min-height: 44px;
}
@media (max-width: 600px) {
  .leave-personal-simple .leave-head h1 {
    font-size: 22px;
  }
  .leave-personal-simple .leave-balance-card {
    padding: 14px;
  }
  .leave-balance-grid {
    gap: 12px;
  }
  .leave-balance + .leave-balance {
    padding-left: 12px;
  }
  .leave-balance .leave-stat {
    font-size: 30px;
  }
  .leave-balance .leave-stat small {
    font-size: 12px;
  }
  .leave-balance-title {
    font-size: 14px;
  }
  .leave-balance .leave-meta {
    font-size: 12px;
    line-height: 1.5;
  }
  .leave-main-actions {
    gap: 10px;
    margin-top: 14px;
  }
  .leave-main-actions button {
    font-size: 14px;
    padding: 10px 8px;
  }
  .leave-personal-footer button {
    width: 100%;
  }
  .leave-personal-simple .leave-card-head h2 {
    font-size: 16px;
  }
  .leave-personal-simple .leave-simple-row {
    padding: 12px;
  }
}
.leave-agreements > summary {
  min-height: 44px;
  cursor: pointer;
  align-content: center;
}
.leave-agreement-person {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #d8e0eb;
  border-radius: 13px;
  background: #f7f9fd;
}
.leave-agreement-fields {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.leave-agreement-fields[hidden],
.leave-agreement-person[hidden] {
  display: none;
}
.leave-agreement-fields .leave-check {
  align-items: flex-start;
}
.leave-agreements input[type='checkbox'] {
  flex-shrink: 0;
}

.leave-page .leave-day-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.leave-dialog .leave-agreement-person {
  display: grid;
  gap: 12px;
  margin-block: 12px;
}
.leave-dialog input,
.leave-dialog select {
  min-width: 0;
  max-width: 100%;
}
.leave-dialog summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.leave-page .leave-back {
  margin-bottom: 8px;
}
.leave-dialog-body > .leave-note + .leave-note {
  margin-top: 8px;
}

/* Freigegebener Einstieg in die Urlaubsplanung, 0.42.1. */
.time-page .time-leave-team-card { padding: 8px; }
.time-page .time-leave-team-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid #dce5f3;
  border-radius: 13px;
  background: #f7f9fd;
  box-shadow: 0 1px 3px #1220340d;
  text-decoration: none;
  color: #172033;
}
.time-page .time-leave-team-link:visited { color: #172033; }
.time-page .time-leave-team-link:hover { background: #edf3ff; border-color: #c6d6ed; }
.time-page .time-leave-team-link:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.time-page .time-leave-team-link > strong { flex: 1; min-width: 0; }
.time-page .time-leave-team-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eaf1ff;
  color: #2563eb;
}
.time-page .time-leave-team-icon svg { width: 22px; height: 22px; }
.time-page .time-leave-team-arrow { display: flex; flex: none; color: #526078; }
.time-page .time-leave-team-arrow svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .time-page .time-leave-team-link { padding: 12px; gap: 12px; }
}

/* Teamzeiten: freigegebene Abwesenheitskarte und direkter Urlaubseinstieg. */
.ab-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.ab-actions button { min-height:46px; }
.ab-actions svg { width:20px; height:20px; flex:none; }
.ab-list { list-style:none; margin:0; padding:8px !important; gap:8px !important; }
.ab-record { padding:0 !important; border-radius:13px !important; border:1px solid #dce5f3 !important; background:#f7f9fd !important; box-shadow:0 1px 3px #1220340d !important; }
.ab-row { display:flex; width:100%; align-items:center; gap:12px; min-height:64px; padding:14px; text-align:left; border:0; background:transparent; color:#172033; border-radius:13px; }
.ab-row>[data-icon] { display:flex; flex:none; width:24px; height:24px; color:#526078; }
.ab-row svg { width:24px; height:24px; }
.ab-row>span:not([data-icon]) { display:grid; gap:3px; flex:1; min-width:0; }
.ab-row>span span { color:#526078; font-size:14px; }
.ab-row strong { overflow-wrap:anywhere; }
.ab-row:hover { background:#edf3ff; }
.ab-card .te-empty { margin:0; }
.ab-card .time-card-head { margin-bottom:12px; }
.team-vacation-dialog { width:min(540px,calc(100% - 32px)); max-height:calc(100dvh - 32px); }
.team-vacation-dialog form { max-height:calc(100dvh - 34px); }
.team-vacation-dialog .leave-dialog-head { padding:22px 24px 16px; border:0; flex:none; }
.team-vacation-dialog .leave-dialog-head h2 { font-size:23px; line-height:1.25; }
.team-vacation-dialog .leave-dialog-body { padding:0 24px 24px; gap:16px; overflow-x:hidden; }
.team-vacation-dialog .leave-dialog-foot { padding:16px 24px; background:#fff; flex:none; }
.team-vacation-dialog .leave-dialog-foot button { flex:initial; }
.team-vacation-dialog .leave-fields { gap:12px; }
.team-vacation-dialog .te-context { margin:0; padding:12px 14px; border-radius:13px; background:#f1f5fc; }
.ab-preview { background:#f1f5fc; border-radius:13px; padding:14px; margin:0; color:#304661; }
.team-vacation-dialog .leave-check { min-height:48px; font-size:inherit; line-height:1.5; }
.team-vacation-dialog .leave-check input { width:22px; height:22px; min-width:22px; min-height:22px; padding:0; accent-color:#2563eb; }
@media(max-width:600px) {
  .ab-actions { display:grid; grid-template-columns:1fr; }
  .ab-actions button { justify-content:flex-start; }
  .team-vacation-dialog { width:100%; max-width:100%; max-height:94dvh; margin:auto 0 0; border-radius:22px 22px 0 0; }
  .team-vacation-dialog form { max-height:94dvh; }
  .team-vacation-dialog .leave-dialog-head { padding:20px 20px 16px; }
  .team-vacation-dialog .leave-dialog-body { padding:0 20px 20px; }
  .team-vacation-dialog .leave-dialog-foot { padding:14px 20px 20px; display:grid; grid-template-columns:1fr; }
  .team-vacation-dialog .leave-dialog-foot .primary-button { grid-row:1; }
  .team-vacation-dialog .leave-dialog-foot button { width:100%; }
  .team-vacation-dialog .leave-fields { grid-template-columns:1fr; }
}
.ab-actions:empty { display:none; }
.team-vacation-dialog .leave-check { overflow-wrap:anywhere; }
