.tk-calendar {
  --tk-border: #dbe1e8;
  --tk-accent: #1f6b84;
  --tk-accent-soft: #edf6fa;
  --tk-col-ak: #effcff;
  --tk-col-th: #dff2ff;
  --tk-col-tech: #c9e9ff;
  --tk-col-ak-btn: #d5eefc;
  --tk-col-th-btn: #bfe2f8;
  --tk-col-tech-btn: #a7d6f2;
  --tk-col-btn-text: #1f5672;
  --tk-bg: #ffffff;
  --tk-text: #1f2933;
  --tk-muted: #607080;
  --tk-page-gap: 24px;
  --tk-link-accent: #01b0f0;
  --tk-btn-shadow-strong: 0 3px 8px rgba(17, 30, 41, 0.18);
  --tk-table-font-size: 14px;
  --tk-service-font-size: 14px;
  position: relative;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%);
  border: 1px solid var(--tk-border);
  border-radius: 16px;
  padding: 14px;
  color: var(--tk-text);
}

.container-wrap select {
  font-size: 14px;
}

.tk-calendar__member-info {
  margin: 0 0 12px;
  border: 1px solid #d5e4ec;
  background: #f5fbff;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}

.tk-calendar__member-greeting {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--tk-text);
}

.tk-calendar__member-note {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--tk-muted);
}

.tk-calendar__member-note--with-services {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

/* Globale Statushinweise (z. B. "Mailversand ist pausiert") */
.tk-calendar > .tk-calendar__member-note {
  margin: 0 auto 12px;
  max-width: 760px;
  border: 1px solid #b7dff1;
  background: #eaf7fe;
  color: #0f4f6a;
  border-radius: 10px;
  padding: 9px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.tk-calendar > .tk-calendar__member-note--sync {
  max-width: 980px;
  text-align: left;
  font-size: 16px;
  line-height: 1.45;
  padding: 12px 16px;
  color: #0f4560;
}

.tk-calendar__member-note--warning {
  color: #9f2f2f;
  font-weight: 700;
}

.tk-calendar__member-services {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.tk-calendar__member-services--inline {
  margin-top: 0;
  display: inline-flex;
  justify-content: flex-start;
  vertical-align: middle;
}

.tk-calendar__member-service {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8d2de;
  border-radius: 999px;
  background: #e8f4fa;
  color: #1d4d63;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 10px;
}

.tk-calendar__toast-host {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin: 6px 0 10px;
  z-index: 10;
  pointer-events: none;
}

.tk-calendar__toast {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  width: fit-content;
  max-width: min(92vw, 620px);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.tk-calendar__toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tk-calendar__toast--success {
  border-color: #9ec6a8;
  background: #ecf7ef;
  color: #1d5c33;
}

.tk-calendar__toast--error {
  border-color: #e6b3b3;
  background: #fbeeee;
  color: #8f2323;
}

/* Hinweistext ueber dem Shortcode, z. B. <small class="tk-calendar-note">...</small> */

@media (min-width: 901px) {
  .tk-calendar {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
  }
}

.tk-calendar__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tk-calendar__input {
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  width: 100%;
}

.tk-calendar__input--search {
  flex: 1 1 360px;
  width: 100%;
  min-width: 180px;
  max-width: 442px;
}

.tk-calendar
  .tk-calendar__filters
  .tk-calendar__input.tk-calendar__input--search {
  width: 100% !important;
  max-width: none !important;
}

.tk-calendar__btn {
  padding: 0.4em 0.85em;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-sizing: border-box;
  font-weight: 600;
}

.tk-calendar__btn-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-right: 0;
  flex: 0 0 16px;
}

.tk-calendar__btn-icon svg {
  width: 16px;
  height: 16px;
}

.tk-calendar__btn:hover,
.tk-calendar__btn:focus,
.tk-calendar__btn:active,
.tk-calendar__btn:focus-visible {
  text-decoration: none !important;
}

.tk-calendar__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tk-calendar__btn--primary {
  border: 1px solid var(--tk-link-accent);
  border-radius: 10px;
  background: var(--tk-link-accent);
  color: #fff !important;
  box-shadow: var(--tk-btn-shadow-strong);
}

.tk-calendar__btn--primary:hover,
.tk-calendar__btn--primary:focus-visible {
  color: #fff !important;
  filter: brightness(0.96);
}

.tk-indesign-export {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 20px 0 28px;
  padding: 18px;
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 30, 41, 0.08);
}

.tk-indesign-export__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tk-indesign-export__title {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.25;
}

.tk-indesign-export__intro {
  margin: 0;
  color: var(--tk-muted);
}

.tk-indesign-export__form {
  display: grid;
  gap: 16px;
}

.tk-indesign-export__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tk-indesign-export__field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.tk-indesign-export__field input[type="date"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--tk-border);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
}

.tk-indesign-export__fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--tk-border);
  border-radius: 10px;
}

.tk-indesign-export__fieldset legend {
  padding: 0 6px;
  font-weight: 700;
}

.tk-indesign-export__target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tk-indesign-export__target-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.tk-indesign-export__target-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tk-indesign-export__target-button {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 14px 16px;
  border: 2px solid var(--tk-border);
  border-radius: 10px;
  background: #fff;
  color: var(--tk-text);
  box-shadow: 0 4px 12px rgba(17, 30, 41, 0.06);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.tk-indesign-export__target-button strong {
  font-size: 18px;
  line-height: 1.2;
}

.tk-indesign-export__target-button span {
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.35;
}

.tk-indesign-export__target-option input:checked + .tk-indesign-export__target-button {
  border-color: var(--tk-link-accent);
  background: #eef9ff;
  box-shadow: 0 0 0 3px rgba(0, 164, 224, 0.14);
}

.tk-indesign-export__target-option input:checked + .tk-indesign-export__target-button strong {
  color: var(--tk-link-accent);
}

.tk-indesign-export__target-option input:focus-visible + .tk-indesign-export__target-button {
  outline: 3px solid rgba(0, 164, 224, 0.22);
  outline-offset: 2px;
}

.tk-indesign-export__choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.4;
}

.tk-indesign-export__choice--inline {
  align-items: center;
}

.tk-indesign-export__actions {
  display: flex;
  justify-content: flex-start;
}

.tk-indesign-export__open-form {
  margin: 12px 0 0;
}

.tk-indesign-export__saved-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #b8dff0;
  border-radius: 10px;
  background: #f2fbff;
}

.tk-indesign-export__saved-title {
  margin: 0 0 6px;
  font-weight: 800;
}

.tk-indesign-export__saved-meta {
  margin: 0 0 4px;
  color: var(--tk-muted);
  font-size: 13px;
}

.tk-indesign-export__saved-meta:last-child {
  margin-bottom: 0;
}

.tk-indesign-export__saved-warning {
  margin: 8px 0 0;
  color: #a33a3a;
  font-size: 13px;
  font-weight: 700;
}

.tk-indesign-export__notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--tk-border);
  background: #f7fbff;
}

.tk-indesign-export__notice--success {
  border-color: #badbcc;
  background: #f0fff6;
}

.tk-indesign-export__notice--error {
  border-color: #f1b7b7;
  background: #fff5f5;
}

.tk-indesign-export__notice p {
  margin: 0 0 8px;
}

.tk-indesign-export__notice p:last-child {
  margin-bottom: 0;
}

.tk-indesign-export__notice pre {
  margin: 10px 0 0;
  padding: 9px;
  max-width: 100%;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--tk-border);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
}

@media (max-width: 700px) {
  .tk-indesign-export__header {
    display: grid;
  }

  .tk-indesign-export__grid {
    grid-template-columns: 1fr;
  }

  .tk-indesign-export__target-grid {
    grid-template-columns: 1fr;
  }

  .tk-indesign-export__saved-source {
    align-items: flex-start;
    flex-direction: column;
  }
}

.tk-calendar__view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.tk-calendar__subnav-wrap {
  --tk-border: #dbe1e8;
  --tk-link-accent: #01b0f0;
  --tk-btn-shadow-strong: 0 3px 8px rgba(17, 30, 41, 0.18);
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}

.tk-calendar__subnav-wrap .tk-calendar__view-switch {
  margin-left: 0;
}

.tk-calendar__subnav {
  flex-wrap: wrap;
  justify-content: center;
}

.tk-calendar__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4em 0.85em;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--tk-link-accent);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  line-height: 1.2;
}

button.tk-calendar__view-btn {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  font: inherit;
}

.tk-calendar__view-btn.is-active {
  font-weight: 700;
}

.tk-calendar__view-btn--icon-only.is-active {
  color: #111 !important;
  border: 1px solid #e3eaf0 !important;
  background: #fff !important;
  box-shadow: var(--tk-btn-shadow-strong);
}

.tk-calendar__view-btn--admin {
  font-weight: 700;
  font-size: 14px;
  min-height: 38px;
  align-items: center;
}

.tk-sync-link--busy {
  pointer-events: none !important;
  opacity: 0.72;
}

.tk-calendar__view-btn--link {
  color: var(--tk-link-accent);
  font-weight: 700;
  font-size: 14px;
}

.tk-calendar__view-btn--action,
.tk-calendar__view-btn--admin {
  min-height: 38px;
}

.tk-calendar__view-btn--link:hover,
.tk-calendar__view-btn--link:focus-visible {
  text-decoration: underline;
  color: var(--tk-link-accent);
}

/* Such-/Archiv-Link: kein Unterstreichen, bei Hover schwarz */
.tk-calendar__view-btn--action.tk-calendar__view-btn--link:hover,
.tk-calendar__view-btn--action.tk-calendar__view-btn--link:focus,
.tk-calendar__view-btn--action.tk-calendar__view-btn--link:focus-visible,
.tk-calendar__view-btn--action.tk-calendar__view-btn--link:active {
  text-decoration: none !important;
  color: #000 !important;
}

.tk-calendar__view-btn--admin::after {
  content: none;
}

.tk-calendar__view-btn--mode {
  justify-content: center;
}

.tk-calendar__view-btn--mode .tk-calendar__view-text {
  display: inline;
}

.tk-calendar__view-btn--icon-only {
  min-width: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
  box-shadow: var(--tk-btn-shadow-strong);
}

.tk-calendar__view-btn--icon-only .tk-calendar__view-text {
  display: none;
}

.tk-calendar__view-btn--mode.is-active {
  font-weight: 700;
}

.tk-calendar__view-btn--print-icon .tk-calendar__view-text {
  display: none !important;
}

a.tk-calendar__view-btn--mode.tk-calendar__view-btn--print-icon {
  min-width: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
}

@media (min-width: 901px) {
  .tk-calendar__filters {
    flex-wrap: wrap;
  }

  .tk-calendar__view-switch {
    margin-left: 0 !important;
    width: 100%;
  }

  .tk-calendar__view-btn--admin + .tk-calendar__view-btn--mode {
    margin-left: 0;
  }
}

.tk-calendar__view-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.tk-calendar__view-icon svg {
  width: 18px;
  height: 18px;
}

/* Einheitlicher Icon-Button-Look vor Textlinks */
.tk-calendar__view-btn--action .tk-calendar__view-icon,
.tk-calendar__view-btn--admin .tk-calendar__view-icon,
.tk-calendar__list-actions .tk-calendar__btn-icon,
.tk-calendar__stats-actions .tk-calendar__btn-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tk-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--tk-btn-shadow-strong);
}

.tk-calendar__view-btn--admin .tk-calendar__view-icon {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tk-calendar__view-btn--action[data-tk-submit-search] .tk-calendar__view-icon {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tk-calendar__view-btn--action .tk-calendar__view-icon svg,
.tk-calendar__view-btn--admin .tk-calendar__view-icon svg,
.tk-calendar__list-actions .tk-calendar__btn-icon svg,
.tk-calendar__stats-actions .tk-calendar__btn-icon svg {
  width: 18px;
  height: 18px;
}

.tk-calendar__btn--link {
  color: var(--tk-link-accent);
  border-color: transparent;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
}

.tk-calendar__btn--link:hover,
.tk-calendar__btn--link:focus-visible {
  color: var(--tk-link-accent);
  text-decoration: underline !important;
}

.tk-calendar__list-actions .tk-calendar__btn--link:hover,
.tk-calendar__list-actions .tk-calendar__btn--link:focus-visible {
  color: #000 !important;
  text-decoration: none !important;
}

/* In der Terminerfassung: Aktions-Buttons als Textlinks mit Icon */
.tk-admin-editor__actions .tk-calendar__btn {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto !important;
  min-width: 0 !important;
  gap: 4px !important;
  line-height: 1.2 !important;
}

.tk-admin-editor__actions .tk-calendar__btn:hover,
.tk-admin-editor__actions .tk-calendar__btn:focus,
.tk-admin-editor__actions .tk-calendar__btn:focus-visible,
.tk-admin-editor__actions .tk-calendar__btn:active {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.tk-admin-editor__actions .tk-calendar__btn--warn,
.tk-admin-editor__actions .tk-calendar__btn--danger {
  color: #c62828 !important;
}

.tk-admin-editor__actions .tk-calendar__btn--warn:hover,
.tk-admin-editor__actions .tk-calendar__btn--warn:focus-visible,
.tk-admin-editor__actions .tk-calendar__btn--danger:hover,
.tk-admin-editor__actions .tk-calendar__btn--danger:focus-visible {
  color: #000 !important;
  text-decoration: none !important;
}

.tk-admin-editor__actions .tk-calendar__btn--link:hover,
.tk-admin-editor__actions .tk-calendar__btn--link:focus-visible {
  text-decoration: none !important;
  color: #000 !important;
}

/* Harte Absicherung gegen Theme-Hover-Buttons in den Admin-Aktionen */
.tk-admin-editor .tk-admin-editor__actions button.tk-calendar__btn,
.tk-admin-editor .tk-admin-editor__actions button.tk-calendar__btn:hover,
.tk-admin-editor .tk-admin-editor__actions button.tk-calendar__btn:focus,
.tk-admin-editor
  .tk-admin-editor__actions
  button.tk-calendar__btn:focus-visible,
.tk-admin-editor .tk-admin-editor__actions button.tk-calendar__btn:active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.tk-calendar__period-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.tk-calendar__period-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--tk-text);
  text-align: center;
}

.tk-calendar__month-jump {
  min-width: 280px;
  max-width: 100%;
  padding: 2px 30px 2px 10px;
  border: 0;
  border-radius: 8px;
  background-color: transparent;
  color: inherit;
  font-size: 30px !important;
  font-weight: 600 !important;
  font-family: inherit;
  line-height: 1.2 !important;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

select#tk-calendar-month-jump {
  width: max-content;
}
.tk-calendar__month-jump:focus,
.tk-calendar__month-jump:focus-visible {
  outline: 2px solid #8ecbe6;
  outline-offset: 2px;
}

.tk-calendar__period-title--list {
  margin: 0 0 12px;
}

.tk-calendar__print-month-title {
  display: none;
}

.tk-calendar__print-note {
  display: none;
}

.tk-calendar__nav-btn {
  min-width: 24px;
  width: 24px;
  height: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  text-align: center;
  text-decoration: none;
  font-size: 0;
  font-weight: 700;
  line-height: 0;
  border: 0;
  border-radius: 6px;
  background: var(--tk-link-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(17, 30, 41, 0.2);
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.2s ease,
    transform 0.18s ease;
}

.tk-calendar__nav-btn::before {
  content: "";
  width: 11px;
  height: 11px;
  display: block;
  background: currentColor;
}

.tk-calendar__nav-btn--prev::before {
  clip-path: polygon(72% 0%, 28% 50%, 72% 100%, 56% 100%, 10% 50%, 56% 0%);
}

.tk-calendar__nav-btn--next::before {
  clip-path: polygon(28% 0%, 72% 50%, 28% 100%, 44% 100%, 90% 50%, 44% 0%);
}

.tk-calendar__nav-btn:hover,
.tk-calendar__nav-btn:focus,
.tk-calendar__nav-btn:focus-visible {
  text-decoration: none;
  color: #fff;
  border: 0;
  background: #019ad2;
  box-shadow: 0 4px 10px rgba(17, 30, 41, 0.22);
  transform: translateY(-1px);
}

.tk-calendar__nav-btn:visited {
  color: #fff !important;
}

.tk-misc-concert {
  color: #c51f1f;
  font-weight: 700;
}

.tk-misc-soldout {
  color: #c51f1f !important;
  font-weight: 700;
}

.tk-misc-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 6px;
  align-items: start;
}

.tk-misc-cell__display {
  min-height: 24px;
  font-size: var(--tk-service-font-size);
  line-height: 1.35;
}

.tk-misc-cell__empty {
  opacity: 0.55;
}

.tk-misc-cell__edit {
  grid-column: 2;
  align-self: start;
}

.tk-calendar__table td:nth-child(7) .tk-misc-cell__edit {
  background: #fff;
  color: var(--tk-link-accent);
  box-shadow: 0 1px 2px rgba(17, 30, 41, 0.12);
}

.tk-calendar__table--with-cancel td:nth-child(8) .tk-misc-cell__edit {
  background: #fff;
  color: var(--tk-link-accent);
  box-shadow: 0 1px 2px rgba(17, 30, 41, 0.12);
}

@media (hover: hover) {
  .tk-calendar__table td:nth-child(7) .tk-misc-cell__edit:hover {
    color: #000000;
  }

  .tk-calendar__table--with-cancel td:nth-child(8) .tk-misc-cell__edit:hover {
    color: #000000;
  }
}

.tk-misc-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tk-misc-modal[hidden] {
  display: none !important;
}

.tk-misc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 26, 0.45);
}

.tk-misc-modal__dialog {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #c3d6e3;
  border-radius: 14px;
  box-shadow: 0 24px 52px rgba(7, 24, 37, 0.24);
  padding: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.tk-misc-modal.is-open .tk-misc-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.tk-misc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.tk-misc-modal__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.tk-misc-modal__close {
  border: 1px solid #c3d6e3;
  background: #f4fbff;
  color: #1d4f66;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tk-misc-modal__textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  border: 1px solid #b9d4e4;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f9fdff;
  color: #1f2f3a;
  font-size: 16px;
  line-height: 1.45;
}

.tk-misc-modal__textarea:focus,
.tk-misc-modal__textarea:focus-visible {
  border-color: #7fb7d6;
  outline: 2px solid rgba(1, 176, 240, 0.2);
  outline-offset: 1px;
  background: #ffffff;
}

.tk-misc-modal__hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #5e7380;
}

.tk-calendar__table-wrap {
  overflow-x: visible;
}

.tk-calendar__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: auto;
}

@media (min-width: 901px) {
  .tk-calendar__table {
    table-layout: fixed;
  }

  .tk-calendar__table th:nth-child(1),
  .tk-calendar__table td:nth-child(1) {
    width: 9%;
  }

  .tk-calendar__table th:nth-child(2),
  .tk-calendar__table td:nth-child(2) {
    width: 5%;
  }

  .tk-calendar__table th:nth-child(3),
  .tk-calendar__table td:nth-child(3) {
    width: 25%;
  }

  .tk-calendar__table th:nth-child(4),
  .tk-calendar__table td:nth-child(4),
  .tk-calendar__table th:nth-child(5),
  .tk-calendar__table td:nth-child(5),
  .tk-calendar__table th:nth-child(6),
  .tk-calendar__table td:nth-child(6) {
    width: 16%;
  }

  .tk-calendar__table th:nth-child(7),
  .tk-calendar__table td:nth-child(7) {
    width: 13%;
  }

  .tk-calendar__table--with-cancel th:nth-child(1),
  .tk-calendar__table--with-cancel td:nth-child(1) {
    width: 3%;
  }

  .tk-calendar__table--with-cancel th:nth-child(2),
  .tk-calendar__table--with-cancel td:nth-child(2) {
    width: 9%;
  }

  .tk-calendar__table--with-cancel th:nth-child(3),
  .tk-calendar__table--with-cancel td:nth-child(3) {
    width: 5%;
  }

  .tk-calendar__table--with-cancel th:nth-child(4),
  .tk-calendar__table--with-cancel td:nth-child(4) {
    width: 22%;
  }

  .tk-calendar__table--with-cancel th:nth-child(5),
  .tk-calendar__table--with-cancel td:nth-child(5),
  .tk-calendar__table--with-cancel th:nth-child(6),
  .tk-calendar__table--with-cancel td:nth-child(6),
  .tk-calendar__table--with-cancel th:nth-child(7),
  .tk-calendar__table--with-cancel td:nth-child(7) {
    width: 15%;
  }

  .tk-calendar__table--with-cancel th:nth-child(8),
  .tk-calendar__table--with-cancel td:nth-child(8) {
    width: 16%;
  }
}

.tk-calendar__table th,
.tk-calendar__table td {
  border-bottom: 1px solid var(--tk-border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  font-size: var(--tk-table-font-size);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tk-calendar__table td {
  font-weight: 400;
}

.tk-calendar__table th:nth-child(1),
.tk-calendar__table td:nth-child(1) {
  white-space: nowrap;
}

.tk-calendar__table th:nth-child(2),
.tk-calendar__table td:nth-child(2) {
  min-width: 0;
  white-space: nowrap;
  line-height: 1.25;
  overflow-wrap: normal;
}

.tk-calendar__table--with-cancel th:nth-child(1),
.tk-calendar__table--with-cancel td:nth-child(1) {
  text-align: center;
  white-space: nowrap;
}

.tk-calendar__cancel-col-head {
  text-align: center !important;
}

.tk-calendar__cancel-col-cell {
  text-align: center;
}

.tk-calendar__cancel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tk-calendar__cancel-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.tk-calendar__table th {
  color: var(--tk-muted);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  background: #ffffff;
  border-bottom: 2px solid #bfcdd7;
}

.tk-calendar__col-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--tk-muted);
  white-space: nowrap;
}

.tk-calendar__table td:nth-child(4) {
  background: var(--tk-col-ak);
}

.tk-calendar__table td:nth-child(5) {
  background: var(--tk-col-th);
}

.tk-calendar__table td:nth-child(6) {
  background: var(--tk-col-tech);
}

.tk-calendar__table th:nth-child(4) {
  background: #def3ff;
}

.tk-calendar__table th:nth-child(5) {
  background: #cbe9ff;
}

.tk-calendar__table th:nth-child(6) {
  background: #b2ddfb;
}

.tk-calendar__table td:nth-child(7) {
  font-size: var(--tk-table-font-size) !important;
  line-height: 1.35;
  letter-spacing: 0;
}

.tk-calendar__table--with-cancel td:nth-child(4) {
  background: #ffffff;
}

.tk-calendar__table--with-cancel td:nth-child(5) {
  background: var(--tk-col-ak);
}

.tk-calendar__table--with-cancel td:nth-child(6) {
  background: var(--tk-col-th);
}

.tk-calendar__table--with-cancel td:nth-child(7) {
  background: var(--tk-col-tech);
}

.tk-calendar__table--with-cancel th:nth-child(4) {
  background: #ffffff;
}

.tk-calendar__table--with-cancel th:nth-child(5) {
  background: #def3ff;
}

.tk-calendar__table--with-cancel th:nth-child(6) {
  background: #cbe9ff;
}

.tk-calendar__table--with-cancel th:nth-child(7) {
  background: #b2ddfb;
}

.tk-calendar__table--with-cancel td:nth-child(8) {
  font-size: var(--tk-table-font-size) !important;
  line-height: 1.35;
  letter-spacing: 0;
}

.tk-calendar__table tr.tk-calendar__row-archive td {
  background: #f2f5f7 !important;
  color: #667784;
}

.tk-calendar__table tr.tk-calendar__row-archive td strong,
.tk-calendar__table tr.tk-calendar__row-archive td b {
  color: #4e5f6d;
}

.tk-calendar__readonly--disabled {
  color: #667784;
  font-weight: 400;
}

.tk-calendar__table--stats {
  table-layout: fixed;
}

.tk-calendar__table-wrap--stats {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.tk-calendar--stats {
  margin: 0 auto;
}

.tk-calendar__table--stats th:nth-child(1),
.tk-calendar__table--stats td:nth-child(1) {
  width: 28%;
  white-space: normal;
}

.tk-calendar__table--stats th:nth-child(2),
.tk-calendar__table--stats td:nth-child(2),
.tk-calendar__table--stats th:nth-child(3),
.tk-calendar__table--stats td:nth-child(3),
.tk-calendar__table--stats th:nth-child(4),
.tk-calendar__table--stats td:nth-child(4) {
  width: 24%;
}

.tk-calendar__table--stats th:nth-child(2),
.tk-calendar__table--stats td:nth-child(2) {
  background: var(--tk-col-ak);
}

.tk-calendar__table--stats th:nth-child(3),
.tk-calendar__table--stats td:nth-child(3) {
  background: var(--tk-col-th);
}

.tk-calendar__table--stats th:nth-child(4),
.tk-calendar__table--stats td:nth-child(4) {
  background: var(--tk-col-tech);
}

.tk-calendar__table--stats .tk-stats__max {
  font-weight: 700;
}

.tk-calendar__table--stats td:nth-child(2),
.tk-calendar__table--stats td:nth-child(3),
.tk-calendar__table--stats td:nth-child(4) {
  text-align: center;
}

.tk-calendar__table--stats th:nth-child(2),
.tk-calendar__table--stats th:nth-child(3),
.tk-calendar__table--stats th:nth-child(4) {
  text-align: center;
}

.tk-calendar__table--stats td:nth-child(1) {
  text-align: left;
  font-weight: 700;
}

.tk-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.tk-assigned {
  display: none;
}

.tk-assigned--empty {
  display: none;
  color: #c51f1f;
  font-weight: 600;
}

.tk-calendar__readonly {
  font-size: var(--tk-service-font-size);
  line-height: 1.35;
  color: var(--tk-text);
  font-weight: 400;
}

.tk-calendar__readonly--cancelled {
  color: #9d2323;
  font-weight: 700;
}

.tk-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tk-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px 24px;
  column-gap: 5px;
  align-items: center;
}

.tk-slot[hidden] {
  display: none !important;
}

.tk-slot__btn {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  box-shadow: 0 1px 2px rgba(17, 30, 41, 0.18);
}

.tk-slot__btn[hidden] {
  display: none !important;
}

.tk-slot__btn--plus:disabled {
  opacity: 0.45;
}

.tk-slot__btn--plus {
  background: #bcd0dd;
  color: #1f4c62;
}

.tk-slot__btn--minus {
  background: #bcd0dd;
  color: #1f4c62;
}

.tk-calendar .tk-slot__btn.tk-slot__btn--replace {
  background-color: #bcd0dd !important;
  color: #1f4c62 !important;
  font-size: 16px;
  font-weight: 700;
}

.tk-calendar__table td:nth-child(4) .tk-slot__btn {
  background: var(--tk-col-ak-btn);
  color: var(--tk-col-btn-text);
}

.tk-calendar__table td:nth-child(5) .tk-slot__btn {
  background: var(--tk-col-th-btn);
  color: var(--tk-col-btn-text);
}

.tk-calendar__table td:nth-child(6) .tk-slot__btn {
  background: var(--tk-col-tech-btn);
  color: var(--tk-col-btn-text);
}

.tk-calendar__table--with-cancel td:nth-child(5) .tk-slot__btn {
  background: var(--tk-col-ak-btn);
  color: var(--tk-col-btn-text);
}

.tk-calendar__table--with-cancel td:nth-child(6) .tk-slot__btn {
  background: var(--tk-col-th-btn);
  color: var(--tk-col-btn-text);
}

.tk-calendar__table--with-cancel td:nth-child(7) .tk-slot__btn {
  background: var(--tk-col-tech-btn);
  color: var(--tk-col-btn-text);
}

.tk-calendar__table td:nth-child(4) .tk-slot__btn.tk-slot__btn--replace,
.tk-calendar__table td:nth-child(5) .tk-slot__btn.tk-slot__btn--replace,
.tk-calendar__table td:nth-child(6) .tk-slot__btn.tk-slot__btn--replace {
  color: inherit !important;
}

.tk-calendar__table--with-cancel
  td:nth-child(5)
  .tk-slot__btn.tk-slot__btn--replace,
.tk-calendar__table--with-cancel
  td:nth-child(6)
  .tk-slot__btn.tk-slot__btn--replace,
.tk-calendar__table--with-cancel
  td:nth-child(7)
  .tk-slot__btn.tk-slot__btn--replace {
  color: inherit !important;
}

.tk-calendar__table td:nth-child(4) .tk-slot__btn.tk-slot__btn--replace {
  background-color: var(--tk-col-ak-btn) !important;
  color: var(--tk-col-btn-text) !important;
}

.tk-calendar__table td:nth-child(5) .tk-slot__btn.tk-slot__btn--replace {
  background-color: var(--tk-col-th-btn) !important;
  color: var(--tk-col-btn-text) !important;
}

.tk-calendar__table td:nth-child(6) .tk-slot__btn.tk-slot__btn--replace {
  background-color: var(--tk-col-tech-btn) !important;
  color: var(--tk-col-btn-text) !important;
}

.tk-calendar__table--with-cancel
  td:nth-child(5)
  .tk-slot__btn.tk-slot__btn--replace {
  background-color: var(--tk-col-ak-btn) !important;
  color: var(--tk-col-btn-text) !important;
}

.tk-calendar__table--with-cancel
  td:nth-child(6)
  .tk-slot__btn.tk-slot__btn--replace {
  background-color: var(--tk-col-th-btn) !important;
  color: var(--tk-col-btn-text) !important;
}

.tk-calendar__table--with-cancel
  td:nth-child(7)
  .tk-slot__btn.tk-slot__btn--replace {
  background-color: var(--tk-col-tech-btn) !important;
  color: var(--tk-col-btn-text) !important;
}

@media (hover: hover) {
  .tk-calendar .tk-slot__btn.tk-slot__btn--replace:hover {
    background-color: #a9c3d3 !important;
    color: #1b4356 !important;
  }

  .tk-calendar__table
    td:nth-child(4)
    .tk-slot__btn.tk-slot__btn--replace:hover {
    background-color: #b4daf1 !important;
    color: #1b4b63 !important;
  }

  .tk-calendar__table
    td:nth-child(5)
    .tk-slot__btn.tk-slot__btn--replace:hover {
    background-color: #9ecdea !important;
    color: #19455b !important;
  }

  .tk-calendar__table
    td:nth-child(6)
    .tk-slot__btn.tk-slot__btn--replace:hover {
    background-color: #88bfdf !important;
    color: #153f53 !important;
  }

  .tk-calendar__table td:nth-child(4) .tk-slot__btn:hover {
    background: #b4daf1;
    color: #1b4b63;
  }

  .tk-calendar__table td:nth-child(5) .tk-slot__btn:hover {
    background: #9ecdea;
    color: #19455b;
  }

  .tk-calendar__table td:nth-child(6) .tk-slot__btn:hover {
    background: #88bfdf;
    color: #153f53;
  }

  .tk-calendar__table--with-cancel td:nth-child(5) .tk-slot__btn:hover {
    background: #b4daf1;
    color: #1b4b63;
  }

  .tk-calendar__table--with-cancel td:nth-child(6) .tk-slot__btn:hover {
    background: #9ecdea;
    color: #19455b;
  }

  .tk-calendar__table--with-cancel td:nth-child(7) .tk-slot__btn:hover {
    background: #88bfdf;
    color: #153f53;
  }
}

.tk-slot__btn:focus-visible {
  outline: 2px solid rgba(31, 107, 132, 0.35);
  outline-offset: 1px;
}

@media (hover: hover) {
  .tk-slot__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(17, 30, 41, 0.14);
  }

  .tk-slot__btn--plus:hover {
    background: #175a70;
    border-color: #175a70;
  }

  .tk-slot__btn--minus:hover {
    background: #175a70;
    color: #fff;
  }
}

.tk-slot__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(17, 30, 41, 0.18);
}

.tk-slot__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: 0 1px 1px rgba(17, 30, 41, 0.08) !important;
  filter: saturate(70%);
}

.tk-actions__select {
  min-width: 0;
  width: 100%;
  border: 1px solid #b9d4e4;
  border-radius: 8px;
  padding: 5px 6px;
  background: #f7fcff;
  color: #1f2f3a;
  font-size: var(--tk-service-font-size);
  line-height: 1.35;
  font-weight: 400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tk-actions__planned {
  min-width: 0;
  width: 42px;
  border: 1px solid #b9d4e4;
  border-radius: 8px;
  padding: 5px 6px;
  background: #f7fcff;
  color: #1f2f3a;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tk-actions__planned-choices {
  display: none;
}

.tk-actions__planned-choice {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border: none;
  border-radius: 6px;
  background: #bcdff3;
  color: #245b79;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tk-actions__planned-choice.is-active {
  background: #8ec7e7;
  color: #1f4f68;
}

.tk-actions__planned:focus,
.tk-actions__planned:focus-visible {
  border-color: #7fb7d6;
  outline: 2px solid rgba(1, 176, 240, 0.2);
  outline-offset: 1px;
  background: #ffffff;
}

.tk-actions__select:focus,
.tk-actions__select:focus-visible {
  border-color: #7fb7d6;
  outline: 2px solid rgba(1, 176, 240, 0.2);
  outline-offset: 1px;
  background: #ffffff;
}

.tk-slot .tk-actions__select {
  grid-column: 1;
  width: 100%;
}

.tk-slot--with-plan {
  grid-template-columns: 42px minmax(0, 1fr) 24px 24px;
}

.tk-slot--with-plan .tk-actions__planned {
  grid-column: 1;
}

.tk-slot--with-plan .tk-actions__select {
  grid-column: 2;
}

@supports selector(.tk-slot:has(.tk-slot__btn--minus[hidden])) {
  .tk-slot[data-slot-index="1"]:has(.tk-slot__btn--minus[hidden]):has(
      .tk-actions__select:not(.tk-actions__select--unassigned):not(
          .tk-actions__select--placeholder
        )
    )
    .tk-actions__select {
    grid-column: 1 / 3;
  }

  .tk-slot--with-plan[data-slot-index="1"]:has(
      .tk-slot__btn--minus[hidden]
    ):has(
      .tk-actions__select:not(.tk-actions__select--unassigned):not(
          .tk-actions__select--placeholder
        )
    )
    .tk-actions__select {
    grid-column: 2 / 4;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan[data-slot-index="1"]:has(
      .tk-slot__btn--minus[hidden]
    ):has(
      .tk-actions__select:not(.tk-actions__select--unassigned):not(
          .tk-actions__select--placeholder
        )
    )
    .tk-actions__select {
    grid-column: 1 / 3;
  }
}

.tk-slot--with-plan .tk-slot__btn--minus {
  grid-column: 3;
}

.tk-slot--with-plan .tk-slot__btn--plus {
  grid-column: 4;
}

@media (min-width: 901px) {
  .tk-cell[data-is-admin="1"] .tk-actions {
    padding-top: 0;
  }

  .tk-cell[data-can-manage-planned="1"] .tk-slot--with-plan {
    grid-template-columns: minmax(0, 1fr) 24px 24px;
    grid-template-rows: auto auto;
    row-gap: 6px;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-actions__planned {
    display: none;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-actions__planned-choices {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-actions__select {
    grid-column: 1;
    grid-row: 2;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-slot__btn--minus {
    grid-column: 2;
    grid-row: 2;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-slot__btn--plus {
    grid-column: 3;
    grid-row: 2;
  }
}

.tk-slot__label {
  grid-column: 1;
  min-width: 0;
  width: 100%;
  font-size: var(--tk-service-font-size);
  line-height: 1.35;
  min-height: 24px;
  border: none;
  border-radius: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--tk-text);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tk-slot__label--readonly {
  border: none;
  border-radius: 0;
  padding: 0 2px 0 14px;
  background: transparent;
  color: var(--tk-text);
  font-weight: 400;
  min-height: 24px;
  position: relative;
}

.tk-slot__label--interactive {
  min-height: 34px;
  border: 1px solid #b9d4e4;
  border-radius: 8px;
  padding: 5px 9px;
  background: rgba(247, 252, 255, 0.65);
  color: #3d5464;
  font-weight: 400;
  margin-left: 14px;
  width: calc(100% - 14px);
}

.tk-slot__label--unassigned {
  color: #c51f1f;
  font-weight: 700;
}

.tk-cell[data-is-admin="0"] .tk-slot .tk-slot__label--readonly::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: #6f8291;
  font-weight: 700;
  font-size: 0.92em;
}

.tk-cell[data-is-admin="0"] .tk-slot .tk-actions__select--member-hidden {
  display: none !important;
}

.tk-slot__btn--minus {
  grid-column: 2;
}

.tk-slot__btn--plus {
  grid-column: 3;
}

.tk-actions__select--unassigned,
.tk-actions__select--unassigned:disabled {
  color: #c51f1f !important;
  -webkit-text-fill-color: #c51f1f !important;
  font-weight: 700;
  opacity: 1 !important;
}

.tk-actions__select--placeholder,
.tk-actions__select--placeholder:disabled {
  color: var(--tk-accent) !important;
  -webkit-text-fill-color: var(--tk-accent) !important;
  font-weight: 700;
  opacity: 1 !important;
}

.tk-actions__option--unassigned {
  color: #c51f1f;
  font-weight: 700;
}

@media (min-width: 901px) and (max-width: 1287px) {
  .tk-slot {
    grid-template-columns: 1fr 24px 24px 1fr;
    row-gap: 4px;
    column-gap: 6px;
    align-items: center;
  }

  .tk-slot .tk-actions__select {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
  }

  .tk-slot--with-plan {
    grid-template-columns: 42px minmax(0, 1fr) 24px 24px;
    row-gap: 4px;
    column-gap: 6px;
  }

  .tk-slot--with-plan .tk-actions__planned {
    grid-column: 1;
    grid-row: 1;
  }

  .tk-slot--with-plan .tk-actions__select {
    grid-column: 2 / 5;
    grid-row: 1;
  }

  .tk-slot--with-plan .tk-slot__btn--minus {
    grid-column: 3;
    grid-row: 2;
  }

  .tk-slot--with-plan .tk-slot__btn--plus {
    grid-column: 4;
    grid-row: 2;
  }

  .tk-cell[data-can-manage-planned="1"] .tk-slot--with-plan {
    grid-template-columns: minmax(0, 1fr) 24px 24px;
    grid-template-rows: auto auto;
    row-gap: 6px;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-actions__planned {
    display: none;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-actions__planned-choices {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-actions__select {
    grid-column: 1;
    grid-row: 2;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-slot__btn--minus {
    grid-column: 2;
    grid-row: 2;
  }

  .tk-cell[data-can-manage-planned="1"]
    .tk-slot--with-plan
    .tk-slot__btn--plus {
    grid-column: 3;
    grid-row: 2;
  }

  .tk-slot__btn--minus {
    grid-column: 2;
    grid-row: 2;
  }

  .tk-slot__btn--plus {
    grid-column: 3;
    grid-row: 2;
  }

  .tk-cell[data-is-admin="0"] .tk-slot {
    grid-template-columns: minmax(0, 1fr) 24px 24px;
    row-gap: 0;
    column-gap: 5px;
  }

  .tk-cell[data-is-admin="0"] .tk-slot__btn--minus,
  .tk-cell[data-is-admin="0"] .tk-slot__btn--plus {
    grid-row: 1;
  }
}

.tk-calendar__empty,
.tk-calendar--notice {
  padding: 12px;
  border: 1px dashed var(--tk-border);
  border-radius: 12px;
  background: #fff;
}

.tk-login {
  max-width: 520px;
  margin: 18px auto;
}

.tk-login__card {
  border: 1px solid var(--tk-border);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.tk-login__title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.tk-login__hint {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--tk-muted);
}

.tk-login__error {
  margin-bottom: 12px;
  border: 1px solid #e9bdbd;
  background: #fbefef;
  color: #912626;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
}

.tk-login__form {
  display: grid;
  gap: 10px;
}

.tk-login__field {
  display: grid;
  gap: 6px;
}

.tk-login__field > span:not(.tk-login__password-wrap),
.tk-login__field > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tk-muted);
}

.tk-login__password-wrap {
  position: relative;
  display: block;
}

.tk-login__password-wrap .tk-calendar__input {
  padding-right: 46px;
}

.tk-login__password-toggle {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 50%;
  right: 6px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tk-muted);
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.tk-login__password-toggle:hover,
.tk-login__password-toggle:focus,
.tk-login__password-toggle:focus-visible {
  background: #eef9ff;
  color: var(--tk-link-accent);
  outline: none;
  box-shadow: none;
}

.tk-login__password-toggle:focus-visible {
  outline: 2px solid rgba(1, 176, 240, 0.28);
  outline-offset: 1px;
}

.tk-login__password-icon {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.tk-login__password-icon--hide {
  display: none;
}

.tk-login__password-toggle[aria-pressed="true"] .tk-login__password-icon--show {
  display: none;
}

.tk-login__password-toggle[aria-pressed="true"] .tk-login__password-icon--hide {
  display: block;
}

.tk-login__remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--tk-muted);
  margin: 2px 0;
}

.tk-login__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.tk-login__actions--choices {
  flex-wrap: wrap;
}

.tk-login__card--logged {
  text-align: center;
}

.tk-login__card--logged .tk-login__hint {
  text-align: center;
}

.tk-login__actions--split {
  width: 100%;
  justify-content: space-between;
  align-items: stretch;
  gap: 12px;
}

.tk-login__action-btn,
.tk-login__action-btn:hover,
.tk-login__action-btn:focus,
.tk-login__action-btn:focus-visible,
.tk-login__action-btn:active {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--tk-link-accent) !important;
  background: var(--tk-link-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 10px !important;
}

.tk-login__actions button.tk-calendar__btn,
.tk-login__actions button.tk-calendar__btn:hover,
.tk-login__actions button.tk-calendar__btn:focus,
.tk-login__actions button.tk-calendar__btn:focus-visible,
.tk-login__actions button.tk-calendar__btn:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  border: 1px solid var(--tk-link-accent) !important;
  background: var(--tk-link-accent) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.tk-login .tk-login__actions > button.tk-calendar__btn[type="submit"],
.tk-login .tk-login__actions > button.tk-calendar__btn[type="submit"]:hover,
.tk-login .tk-login__actions > button.tk-calendar__btn[type="submit"]:focus,
.tk-login
  .tk-login__actions
  > button.tk-calendar__btn[type="submit"]:focus-visible,
.tk-login .tk-login__actions > button.tk-calendar__btn[type="submit"]:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 1px solid var(--tk-link-accent) !important;
  background: var(--tk-link-accent) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.tk-login .tk-login__actions > button.tk-calendar__btn--motif[type="submit"],
.tk-login .tk-login__actions > button.tk-calendar__btn--motif[type="submit"]:hover,
.tk-login .tk-login__actions > button.tk-calendar__btn--motif[type="submit"]:focus,
.tk-login
  .tk-login__actions
  > button.tk-calendar__btn--motif[type="submit"]:focus-visible,
.tk-login .tk-login__actions > button.tk-calendar__btn--motif[type="submit"]:active,
.tk-login__action-btn--motif,
.tk-login__action-btn--motif:hover,
.tk-login__action-btn--motif:focus,
.tk-login__action-btn--motif:focus-visible,
.tk-login__action-btn--motif:active {
  border-color: #8ddeff !important;
  background: #e6f8ff !important;
  color: #007fb1 !important;
}

.tk-login__link {
  font-size: 13px;
  color: var(--tk-accent);
  text-decoration: none;
  font-weight: 600;
}

.tk-login__link--hint {
  color: var(--tk-muted);
  font-weight: 600;
}

.tk-login__link:hover {
  text-decoration: underline;
}

.tk-admin-editor {
  margin-top: 14px;
}

.tk-admin-editor__label,
.tk-admin-editor__subtitle {
  display: block;
  font-weight: 600;
  color: var(--tk-muted);
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
}

.tk-admin-editor__cancelled-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e3b0b0;
  background: #fbecec;
  color: #9d2323;
  font-size: 12px;
  font-weight: 700;
}

.tk-admin-editor__notice {
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.tk-admin-editor__picker {
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  background: #f8fbfd;
}

.tk-admin-editor__picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
}

.tk-admin-editor .tk-admin-editor__picker-row .tk-calendar__btn {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  gap: 4px !important;
}

.tk-admin-editor .tk-admin-editor__picker-row .tk-calendar__btn--link {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  gap: 4px !important;
  justify-content: flex-start !important;
  line-height: 1.2 !important;
  color: var(--tk-link-accent) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tk-admin-editor .tk-admin-editor__picker-row button.tk-calendar__btn,
.tk-admin-editor .tk-admin-editor__picker-row button.tk-calendar__btn:hover,
.tk-admin-editor .tk-admin-editor__picker-row button.tk-calendar__btn:focus,
.tk-admin-editor
  .tk-admin-editor__picker-row
  button.tk-calendar__btn:focus-visible,
.tk-admin-editor .tk-admin-editor__picker-row button.tk-calendar__btn:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--tk-link-accent) !important;
  text-decoration: none !important;
}

.tk-admin-editor .tk-admin-editor__picker-row a.tk-calendar__btn,
.tk-admin-editor .tk-admin-editor__picker-row a.tk-calendar__btn:hover,
.tk-admin-editor .tk-admin-editor__picker-row a.tk-calendar__btn:focus,
.tk-admin-editor .tk-admin-editor__picker-row a.tk-calendar__btn:focus-visible,
.tk-admin-editor .tk-admin-editor__picker-row a.tk-calendar__btn:active {
  color: var(--tk-link-accent) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.tk-admin-editor .tk-admin-editor__picker-row .tk-calendar__btn--link:hover,
.tk-admin-editor .tk-admin-editor__picker-row .tk-calendar__btn--link:focus,
.tk-admin-editor
  .tk-admin-editor__picker-row
  .tk-calendar__btn--link:focus-visible,
.tk-admin-editor .tk-admin-editor__picker-row .tk-calendar__btn--link:active {
  color: #000 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.tk-admin-editor .tk-admin-editor__picker-row .tk-calendar__btn--link:hover,
.tk-admin-editor
  .tk-admin-editor__picker-row
  .tk-calendar__btn--link:focus-visible {
  color: #000 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.tk-admin-editor__form {
  padding: 12px;
  border: 1px solid var(--tk-border);
  border-radius: 12px;
  background: #fff;
}

.tk-admin-editor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 16px;
  margin-bottom: 16px;
}

.tk-admin-editor__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.tk-admin-editor__field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--tk-muted);
}

.tk-admin-editor__section-title {
  display: block;
  font-weight: 600;
  color: var(--tk-muted);
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
}

.tk-admin-editor__field--full {
  grid-column: 1 / -1;
}

.tk-admin-editor__checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--tk-muted);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 10px;
}

.tk-admin-editor__checkbox-line input[type="checkbox"] {
  margin: 0;
  accent-color: var(--tk-accent);
  outline: none !important;
  box-shadow: none !important;
}

.tk-admin-editor__checkbox-line input[type="checkbox"]:focus,
.tk-admin-editor__checkbox-line input[type="checkbox"]:focus-visible,
.tk-admin-editor__checkbox-line input[type="checkbox"]:checked:focus,
.tk-admin-editor__checkbox-line input[type="checkbox"]:checked:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.tk-admin-editor__field .tk-calendar__input {
  width: 100%;
  max-width: 98%;
  box-sizing: border-box;
  min-width: 0;
}

.tk-admin-editor__field--date .tk-calendar__input,
.tk-admin-editor__field--time .tk-calendar__input {
  max-width: 320px;
}

.tk-admin-editor__field--event .tk-calendar__input {
  max-width: none;
  width: 100%;
}

.tk-admin-editor__field--date .tk-calendar__input,
.tk-admin-editor__field--time .tk-calendar__input,
.tk-admin-editor__field--event .tk-calendar__input {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

.tk-admin-editor textarea.tk-calendar__input {
  height: auto !important;
  min-height: 64px !important;
  padding: 8px 10px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  resize: vertical;
}

.tk-admin-editor__services {
  display: grid;
  gap: 10px;
}

.tk-admin-editor__service {
  border: 1px solid var(--tk-border);
  border-radius: 10px;
  padding: 10px;
  background: #f8fbfd;
}

.tk-admin-editor__service:nth-child(1) {
  background: var(--tk-col-ak);
}

.tk-admin-editor__service:nth-child(2) {
  background: var(--tk-col-th);
}

.tk-admin-editor__service:nth-child(3) {
  background: var(--tk-col-tech);
}

.tk-admin-editor__service > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--tk-muted);
}

.tk-admin-editor__service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tk-admin-editor__service-head > strong {
  margin-bottom: 0;
}

.tk-admin-editor__service-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  max-width: none;
}

.tk-admin-editor__service-plan-text {
  font-size: 12px;
  color: var(--tk-muted);
  white-space: nowrap;
}

.tk-admin-editor__service-plan-select {
  min-width: 138px;
  width: auto !important;
  max-width: 180px;
  padding: 5px 26px 5px 8px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.tk-admin-editor__service-slots {
  display: grid;
  gap: 7px;
  max-width: 420px;
}

.tk-admin-editor__service-slots .tk-calendar__input {
  background: #f7fcff !important;
  border: 1px solid #b9d4e4 !important;
  color: #1f2f3a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tk-admin-editor__service-slots .tk-calendar__input:focus,
.tk-admin-editor__service-slots .tk-calendar__input:focus-visible {
  background: #ffffff !important;
  border-color: #7fb7d6 !important;
  outline: 2px solid rgba(1, 176, 240, 0.2) !important;
  outline-offset: 1px !important;
}

.tk-admin-editor__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.tk-admin-editor__actions-left,
.tk-admin-editor__actions-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.tk-admin-editor__actions-right {
  margin-left: auto;
  gap: 10px;
}

.tk-admin-editor__save-label-short {
  display: none;
}

@media (min-width: 901px) {
  .tk-admin-editor__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
  }

  .tk-admin-editor__field--date {
    grid-column: 1;
  }

  .tk-admin-editor__field--time {
    grid-column: 2;
  }

  .tk-admin-editor__field--pause {
    grid-column: 3;
    align-self: end;
  }

  .tk-admin-editor__field--event {
    grid-column: 1 / span 2;
  }

  .tk-admin-editor__field--venue {
    grid-column: 3;
    align-self: end;
  }

  .tk-admin-editor__field--date .tk-calendar__input,
  .tk-admin-editor__field--time .tk-calendar__input,
  .tk-admin-editor__field--event .tk-calendar__input {
    max-width: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .tk-admin-editor__services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tk-admin-editor__service-slots {
    max-width: none;
  }
}

.tk-calendar__filter-note {
  margin: -2px 0 10px 0;
  font-size: 13px;
  color: var(--tk-text);
}

.tk-calendar__filter-note a {
  margin-left: 8px;
  color: var(--tk-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #9dc4d2;
  background: #edf6fa;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
}

.tk-calendar__filter-note a:hover {
  border-color: var(--tk-accent);
  background: #dfeff5;
  text-decoration: none;
}

.tk-calendar__filter-note-icon {
  display: inline-flex;
  width: 12px;
  height: 12px;
}

.tk-calendar__filter-note-icon svg {
  width: 12px;
  height: 12px;
}

.tk-calendar__row-target {
  outline: 2px solid #86bfd2;
  outline-offset: -2px;
}

.tk-calendar__row-cancelled td {
  opacity: 0.86;
}

.tk-calendar__cancelled-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #e3b0b0;
  background: #fbecec;
  color: #9d2323;
  font-size: 11px;
  font-weight: 700;
}

.tk-calendar__cancelled-badge[hidden] {
  display: none !important;
}

.tk-calendar__list-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.tk-calendar__list-actions-left,
.tk-calendar__list-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tk-calendar__mail-pause-form {
  margin: 0;
}

.tk-calendar__mail-pause-form button.tk-calendar__btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--tk-link-accent);
  font: inherit;
  line-height: 1.2;
  padding: 0;
}

.tk-calendar__mail-pause-form button.tk-calendar__btn:hover,
.tk-calendar__mail-pause-form button.tk-calendar__btn:focus,
.tk-calendar__mail-pause-form button.tk-calendar__btn:focus-visible {
  color: #000;
  text-decoration: none !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tk-calendar__mail-pause-form .tk-calendar__btn:hover,
.tk-calendar__mail-pause-form .tk-calendar__btn:focus,
.tk-calendar__mail-pause-form .tk-calendar__btn:focus-visible,
.tk-calendar__mail-pause-form .tk-calendar__btn:active {
  color: #000 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tk-calendar__stats-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media print {
  @page {
    /* Unserializable parse-error: <ParseError invalid> */
  }

  :root {
    --wp--style--block-gap: 0 !important;
    --wp--style--root--padding-top: 0 !important;
    --wp--style--root--padding-bottom: 0 !important;
  }

  header nav,
  header .wp-block-navigation,
  header .main-navigation,
  header .navigation,
  .site-header nav,
  .site-header .wp-block-navigation,
  .site-header .main-navigation,
  .wp-block-navigation,
  footer,
  .site-footer,
  .wp-block-template-part.footer,
  .wp-block-template-part[aria-label*="Footer"] {
    display: none !important;
  }

  .tk-calendar__member-info {
    display: none !important;
  }

  .entry-title,
  .entry-header,
  .wp-block-post-title,
  .wp-block-query-title,
  main h1 {
    display: none !important;
  }

  .wp-block-template-part.header,
  .wp-block-template-part[aria-label*="Header"],
  header,
  .site-header,
  .wp-site-blocks header,
  .wp-site-blocks header > *,
  .wp-site-blocks header .wp-block-group,
  .wp-site-blocks header .wp-block-group__inner-container {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 0 !important;
  }

  .wp-site-blocks,
  body {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    row-gap: 0 !important;
    --wp--style--block-gap: 0 !important;
  }

  .wp-site-blocks *,
  body * {
    --wp--style--block-gap: 0 !important;
  }

  .wp-site-blocks > header,
  .wp-site-blocks > .wp-block-template-part:first-child {
    margin-bottom: 4mm !important;
  }

  .wp-site-blocks .has-global-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  main,
  .site-main,
  article,
  .entry-content,
  .wp-block-post-content,
  .wp-site-blocks main,
  .wp-site-blocks .wp-block-post-content {
    margin: 0 !important;
    padding: 0 !important;
  }

  .wp-site-blocks > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }

  .wp-site-blocks .is-layout-flow > *,
  .wp-site-blocks .is-layout-constrained > *,
  .wp-site-blocks .entry-content > *,
  .wp-site-blocks .wp-block-post-content > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }

  .wp-site-blocks .entry-content > * + *,
  .wp-site-blocks .wp-block-post-content > * + * {
    margin-block-start: 4px !important;
  }

  .wp-block-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tk-calendar {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 4px 0 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  .tk-calendar__filters,
  .tk-calendar__filter-note,
  .tk-calendar__list-actions,
  .tk-calendar__period-nav,
  .tk-calendar__month-weekdays,
  .tk-calendar__view-switch,
  .tk-calendar__nav-btn {
    display: none !important;
  }

  .tk-calendar__print-month-title {
    display: block !important;
    text-align: center !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 0 8px !important;
  }

  .tk-calendar__print-note {
    display: block !important;
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #000 !important;
    margin: 0 0 8px !important;
  }

  .tk-calendar__table-wrap {
    overflow: visible !important;
  }

  .tk-calendar__table {
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
  }

  .tk-calendar__table thead {
    display: table-header-group !important;
  }

  .tk-calendar__table tbody {
    display: table-row-group !important;
  }

  .tk-calendar__table tr {
    display: table-row !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .tk-calendar__table td::before {
    content: none !important;
    display: none !important;
  }

  .tk-calendar__table td {
    display: table-cell !important;
  }

  .tk-calendar__table th,
  .tk-calendar__table td {
    border: 1px solid #c8c8c8 !important;
    padding: 5px 6px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .tk-calendar__table th:nth-child(1),
  .tk-calendar__table td:nth-child(1) {
    width: 12% !important;
    white-space: nowrap !important;
  }

  .tk-calendar__table th:nth-child(2),
  .tk-calendar__table td:nth-child(2) {
    width: 7% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  .tk-calendar__table th:nth-child(3),
  .tk-calendar__table td:nth-child(3) {
    width: 21% !important;
  }

  .tk-calendar__table th:nth-child(4),
  .tk-calendar__table td:nth-child(4) {
    width: 14% !important;
  }

  .tk-calendar__table th:nth-child(5),
  .tk-calendar__table td:nth-child(5) {
    width: 16% !important;
  }

  .tk-calendar__table th:nth-child(6),
  .tk-calendar__table td:nth-child(6) {
    width: 14% !important;
  }

  .tk-calendar__table th:nth-child(7),
  .tk-calendar__table td:nth-child(7) {
    width: 12% !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(1),
  .tk-calendar__table--with-cancel td:nth-child(1) {
    display: none !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(2),
  .tk-calendar__table--with-cancel td:nth-child(2) {
    width: 12% !important;
    white-space: nowrap !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(3),
  .tk-calendar__table--with-cancel td:nth-child(3) {
    width: 7% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(4),
  .tk-calendar__table--with-cancel td:nth-child(4) {
    width: 21% !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(5),
  .tk-calendar__table--with-cancel td:nth-child(5) {
    width: 14% !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(6),
  .tk-calendar__table--with-cancel td:nth-child(6) {
    width: 16% !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(7),
  .tk-calendar__table--with-cancel td:nth-child(7) {
    width: 14% !important;
  }

  .tk-calendar__table--with-cancel th:nth-child(8),
  .tk-calendar__table--with-cancel td:nth-child(8) {
    width: 12% !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .tk-assigned,
  .tk-assigned--empty {
    display: block !important;
    color: #000 !important;
    font-weight: 400 !important;
  }

  .tk-actions,
  .tk-slot,
  .tk-slot__btn,
  .tk-actions__select {
    display: none !important;
  }

  .tk-calendar__readonly {
    display: block !important;
    color: #000 !important;
    font-weight: 400 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .tk-calendar__readonly--cancelled {
    font-weight: 700 !important;
  }
}

@media (max-width: 900px) {
  .tk-calendar {
    padding: 10px;
  }

  .tk-admin-editor__picker-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  .tk-admin-editor__picker-row > select {
    grid-column: 1 / -1;
  }

  .tk-admin-editor__picker-row .tk-calendar__btn {
    justify-self: start;
  }

  .tk-admin-editor__actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
  }

  .tk-admin-editor__actions-left,
  .tk-admin-editor__actions-right {
    width: auto;
  }

  .tk-admin-editor__actions-right {
    margin-left: auto;
    justify-content: flex-end;
  }

  .tk-admin-editor__grid {
    grid-template-columns: 1fr;
  }

  .tk-admin-editor__field .tk-calendar__input,
  .tk-admin-editor__field--date .tk-calendar__input,
  .tk-admin-editor__field--time .tk-calendar__input,
  .tk-admin-editor__service-slots .tk-calendar__input,
  .tk-admin-editor textarea.tk-calendar__input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .tk-login__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .tk-login__actions--split {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }

  .tk-calendar__list-actions {
    justify-content: space-between;
    align-items: center;
  }

  .tk-calendar__list-actions-right {
    margin-left: auto;
  }

  .tk-calendar__period-nav {
    margin-top: 2px;
  }

  .tk-calendar__table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
  }

  .tk-calendar__table thead {
    display: none;
  }

  .tk-calendar__table tbody {
    display: block;
  }

  .tk-calendar__table tr {
    display: block;
    background: var(--tk-bg);
    border: 1px solid var(--tk-border);
    border-bottom: 4px solid var(--tk-border);
    border-radius: 12px;
    padding: 8px;
  }

  .tk-calendar__table tbody tr + tr {
    margin-top: 10px;
  }

  .tk-calendar__table td {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 8px;
    border: 0;
    padding: 6px 0 6px 8px;
    align-items: start;
  }

  .tk-calendar__table td::before {
    content: attr(data-label);
    color: var(--tk-muted);
    font-weight: 600;
    font-size: 12px;
  }

  .tk-calendar__table--with-cancel tr {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tk-calendar__table--with-cancel td[data-label="Sonstiges"] {
    order: 98;
  }

  .tk-calendar__table--with-cancel td.tk-calendar__cancel-col-cell {
    order: 99;
  }

  /* Statistik-Tabelle: feste Desktop-Spaltenbreiten auf Mobile aufheben */
  .tk-calendar__table--stats,
  .tk-calendar__table--stats tbody,
  .tk-calendar__table--stats tr,
  .tk-calendar__table--stats td {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }

  .tk-calendar__table--stats td:nth-child(1),
  .tk-calendar__table--stats td:nth-child(2),
  .tk-calendar__table--stats td:nth-child(3),
  .tk-calendar__table--stats td:nth-child(4) {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  /* Statistik-Mobil: keine zeichenweise Umbrüche bei Namen */
  .tk-calendar__table--stats td {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .tk-calendar__table--stats td::before {
    flex: 0 0 108px !important;
    white-space: nowrap !important;
  }

  .tk-calendar__table--stats td[data-label="Mitarbeiter"] {
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }
}

@media (max-width: 650px) {
  .tk-calendar__list-actions {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .tk-calendar__list-actions-left,
  .tk-calendar__list-actions-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }

  .tk-calendar__list-actions-right {
    margin-left: 0;
  }
}

@media (min-width: 901px) and (max-width: 1349px) {
  .tk-calendar__table {
    min-width: 0;
    width: 100%;
    table-layout: auto !important;
    border-collapse: separate;
    border-spacing: 0 8px;
  }

  .tk-calendar__table thead {
    display: none;
  }

  .tk-calendar__table tbody {
    display: block;
    width: 100%;
  }

  .tk-calendar__table tr {
    display: block;
    width: 100%;
    background: var(--tk-bg);
    border: 1px solid var(--tk-border);
    border-bottom: 4px solid var(--tk-border);
    border-radius: 12px;
    padding: 8px;
  }

  .tk-calendar__table tbody tr + tr {
    margin-top: 10px;
  }

  .tk-calendar__table td {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 8px;
    width: 100% !important;
    border: 0;
    padding: 6px 0 6px 8px;
    align-items: start;
  }

  .tk-calendar__table td::before {
    content: attr(data-label);
    color: var(--tk-muted);
    font-weight: 600;
    font-size: 12px;
  }

  .tk-calendar__table--with-cancel tr {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* Desktop-Spaltenbreiten in diesem Bereich vollständig aufheben */
  .tk-calendar__table th,
  .tk-calendar__table td,
  .tk-calendar__table--with-cancel th,
  .tk-calendar__table--with-cancel td {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  .tk-calendar__table--with-cancel td[data-label="Sonstiges"] {
    order: 98;
  }

  .tk-calendar__table--with-cancel td.tk-calendar__cancel-col-cell {
    order: 99;
  }

  .tk-calendar__table--stats,
  .tk-calendar__table--stats tbody,
  .tk-calendar__table--stats tr,
  .tk-calendar__table--stats td {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }

  .tk-calendar__table--stats td:nth-child(1),
  .tk-calendar__table--stats td:nth-child(2),
  .tk-calendar__table--stats td:nth-child(3),
  .tk-calendar__table--stats td:nth-child(4) {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  .tk-calendar__table--stats td {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .tk-calendar__table--stats td::before {
    flex: 0 0 108px !important;
    white-space: nowrap !important;
  }

  .tk-calendar__table--stats td[data-label="Mitarbeiter"] {
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }
}

@media (max-width: 490px) {
  .tk-calendar__filters > .tk-calendar__view-btn--action,
  .tk-calendar__filters > .tk-calendar__view-btn--admin,
  .tk-calendar__filters > .tk-calendar__view-switch > .tk-calendar__view-btn {
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
    box-sizing: border-box;
    border: 1px solid #e3eaf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--tk-btn-shadow-strong);
  }

  .tk-calendar__filters
    > .tk-calendar__view-btn--action
    .tk-calendar__view-text,
  .tk-calendar__filters > .tk-calendar__view-btn--admin .tk-calendar__view-text,
  .tk-calendar__filters
    > .tk-calendar__view-switch
    > .tk-calendar__view-btn
    .tk-calendar__view-text {
    display: none !important;
  }

  .tk-calendar__period-nav {
    gap: 8px;
  }

  .tk-calendar__period-title,
  .tk-calendar__month-jump {
    font-size: 24px !important;
  }

  .tk-calendar__table td[data-label="Datum"],
  .tk-calendar__table td[data-label="Veranstaltung"] {
    font-size: 16px !important;
    line-height: 1.45;
  }
}

td[data-label="Veranstaltung"],
td[data-label="Datum"] {
  font-weight: bold;
}

/* Finales, eindeutiges Filter-/Button-Layout:
   - Archiv | Suche | Suchen immer in einer Zeile
   - Buttons ab 491px im gleichen 38px-Stil wie <=490px
   - Text bei Archiv/Sync/Suchen nur bei ausreichend Platz */
.tk-calendar__filters {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 8px;
}

.tk-calendar__filters > .tk-calendar__view-btn--action[data-tk-submit-search] {
  order: 3;
}

.tk-calendar__filters
  > .tk-calendar__view-btn--action:not([data-tk-submit-search]) {
  order: 1;
}

.tk-calendar__filters > .tk-calendar__input--search {
  order: 2;
  width: 100% !important;
  min-width: 0;
  margin-bottom: 0;
}

.tk-calendar__filters > .tk-calendar__view-switch {
  order: 4;
  grid-column: 1 / -1;
  width: 100%;
  margin-left: 0 !important;
  justify-content: center !important;
  gap: 8px;
}

/* In der oberen Filterleiste keinen inneren Rahmen um SVG-Icons anzeigen */
.tk-calendar__filters > .tk-calendar__view-btn .tk-calendar__view-icon,
.tk-calendar__filters
  > .tk-calendar__view-switch
  > .tk-calendar__view-btn
  .tk-calendar__view-icon {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Archiv-Modus optisch dominant */
.tk-calendar__filters > .tk-calendar__view-btn--archive.is-archive-active {
  border-color: #00b0f0 !important;
  background: #00b0f0 !important;
  color: #fff !important;
}

@media (min-width: 491px) {
  .tk-calendar__filters > .tk-calendar__view-btn--action,
  .tk-calendar__filters > .tk-calendar__view-btn--admin,
  .tk-calendar__filters > .tk-calendar__view-switch > .tk-calendar__view-btn {
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
    box-sizing: border-box;
    border: 1px solid #e3eaf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--tk-btn-shadow-strong);
  }

  .tk-calendar__filters
    > .tk-calendar__view-btn--action
    .tk-calendar__view-icon,
  .tk-calendar__filters > .tk-calendar__view-btn--admin .tk-calendar__view-icon,
  .tk-calendar__filters
    > .tk-calendar__view-switch
    > .tk-calendar__view-btn
    .tk-calendar__view-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tk-calendar__filters
    > .tk-calendar__view-btn--action
    .tk-calendar__view-text,
  .tk-calendar__filters > .tk-calendar__view-btn--admin .tk-calendar__view-text,
  .tk-calendar__filters
    > .tk-calendar__view-switch
    > .tk-calendar__view-btn
    .tk-calendar__view-text {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .tk-calendar__filters > .tk-calendar__view-btn--action,
  .tk-calendar__filters > .tk-calendar__view-btn--admin,
  .tk-calendar__filters
    > .tk-calendar__view-switch
    > .tk-calendar__view-btn--admin {
    width: auto !important;
    min-width: 38px !important;
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .tk-calendar__filters
    > .tk-calendar__view-btn--action
    .tk-calendar__view-text,
  .tk-calendar__filters > .tk-calendar__view-btn--admin .tk-calendar__view-text,
  .tk-calendar__filters
    > .tk-calendar__view-switch
    > .tk-calendar__view-btn--admin
    .tk-calendar__view-text {
    display: inline !important;
  }
}

@media (max-width: 1349px) {
  .tk-calendar__table--with-cancel td.tk-calendar__cancel-col-cell {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    column-gap: 8px !important;
    gap: 8px !important;
  }

  .tk-calendar__table--with-cancel td.tk-calendar__cancel-col-cell::before {
    text-align: left !important;
    justify-self: start !important;
  }

  .tk-calendar__table--with-cancel
    td.tk-calendar__cancel-col-cell
    .tk-calendar__cancel-toggle {
    width: auto !important;
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    justify-self: start !important;
    margin: 0 !important;
  }
}

td[data-label="Veranstaltung"] .tk-calendar__event-link,
td[data-label="Veranstaltung"] .tk-calendar__event-ticket-link,
td[data-label="Veranstaltung"] .tk-calendar__event-manual-link {
  font-size: inherit;
  line-height: inherit;
}

.tk-calendar__event-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.tk-calendar__event-link:hover,
.tk-calendar__event-link:focus,
.tk-calendar__event-link:focus-visible {
  color: var(--tk-link-accent);
  text-decoration: none;
  font-weight: inherit;
}

/* Eindeutiger Ticket-Link in der Veranstaltungsspalte (Theme-sicher). */
.tk-calendar__table
  td[data-label="Veranstaltung"]
  .tk-calendar__event-ticket-link,
.tk-calendar__table
  td[data-label="Veranstaltung"]
  .tk-calendar__event-ticket-link:visited {
  color: #1f2b36 !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

.tk-calendar__table
  td[data-label="Veranstaltung"]
  .tk-calendar__event-ticket-link:hover,
.tk-calendar__table
  td[data-label="Veranstaltung"]
  .tk-calendar__event-ticket-link:focus,
.tk-calendar__table
  td[data-label="Veranstaltung"]
  .tk-calendar__event-ticket-link:focus-visible,
.tk-calendar__table
  td[data-label="Veranstaltung"]
  .tk-calendar__event-ticket-link:active {
  color: var(--tk-link-accent) !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

h1.wp-block-post-title {
  text-align: center;
}

/* Salient Fancy Box (hover_desc): dunklen Verlauf fuer .fancybox-hint entfernen */
.fancybox-hint.nectar-fancy-box[data-style="hover_desc"] .box-bg::before,
.fancybox-hint.nectar-fancy-box[data-style="hover_desc"] .box-bg::after,
.fancybox-hint .nectar-fancy-box[data-style="hover_desc"] .box-bg::before,
.fancybox-hint .nectar-fancy-box[data-style="hover_desc"] .box-bg::after {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

.fancybox-hint.nectar-fancy-box[data-style="hover_desc"]::before,
.fancybox-hint.nectar-fancy-box[data-style="hover_desc"]::after,
.fancybox-hint .nectar-fancy-box[data-style="hover_desc"]::before,
.fancybox-hint .nectar-fancy-box[data-style="hover_desc"]::after {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* Salient Fancy Box (Color Box Hover): "Description on Hover" Verhalten per Klasse */
.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"],
.tk-fancybox-hint .nectar-fancy-box[data-style="color_box_hover"] {
  position: relative;
  overflow: hidden;
}

/* Spalte 1 Struktur: .box-inner-wrap > .inner > .inner-wrap */
.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]
  > .box-inner-wrap
  > .inner
  > .inner-wrap,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]
  > .box-inner-wrap
  > .inner
  > .inner-wrap {
  transition:
    opacity 0.65s cubic-bezier(0.05, 0.2, 0.1, 1),
    transform 0.65s cubic-bezier(0.05, 0.2, 0.1, 1);
  transform: translateY(0);
}

.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]:hover
  > .box-inner-wrap
  > .inner
  > .inner-wrap,
.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]:focus-within
  > .box-inner-wrap
  > .inner
  > .inner-wrap,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]:hover
  > .box-inner-wrap
  > .inner
  > .inner-wrap,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]:focus-within
  > .box-inner-wrap
  > .inner
  > .inner-wrap {
  transform: translateY(-31px) !important;
}

/* Falls Salient bereits hover-content ausgibt, in dieser Variante ausblenden */
.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"] .hover-content,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]
  .hover-content {
  display: none !important;
}

/* Screenreader-Text (aria-label) als verzögerten Hover-Text einblenden */
.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]
  > .box-inner-wrap
  > .box-link,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]
  > .box-inner-wrap
  > .box-link {
  position: absolute;
  inset: 0;
}

.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]
  > .box-inner-wrap
  > .box-link::after,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]
  > .box-inner-wrap
  > .box-link::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%) translateY(8px);
  color: rgba(255, 255, 255, 0.95);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.26s ease 0.15s,
    transform 0.28s ease 0.15s;
}

.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]:hover
  > .box-inner-wrap
  > .box-link::after,
.tk-fancybox-hint.nectar-fancy-box[data-style="color_box_hover"]:focus-within
  > .box-inner-wrap
  > .box-link::after,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]:hover
  > .box-inner-wrap
  > .box-link::after,
.tk-fancybox-hint
  .nectar-fancy-box[data-style="color_box_hover"]:focus-within
  > .box-inner-wrap
  > .box-link::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tk-help {
  max-width: 960px;
  margin: 0 auto;
}

.tk-help__title {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

.tk-help__intro {
  margin: 0 0 16px;
  color: var(--tk-muted);
}

.tk-help__section {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: 12px;
}

.tk-help__section-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.tk-help__list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  color: var(--tk-text);
}

.tk-help__list li {
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}

.tk-help__list-item-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--tk-border);
  background: #fff;
  color: var(--tk-link-accent) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(22, 55, 70, 0.08);
}

.tk-help__list-item-btn:hover,
.tk-help__list-item-btn:focus-visible {
  color: #000 !important;
  border-color: #a7d9ef;
  background: #f8fcff;
  text-decoration: none !important;
}

.tk-help__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.tk-help__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.tk-help__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.tk-help__icon svg {
  width: 100%;
  height: 100%;
}

.tk-help__link:hover,
.tk-help__link:focus-visible {
  color: #000 !important;
  text-decoration: none !important;
}

.tk-help__link--primary {
  color: var(--tk-link-accent);
}

.tk-help__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.tk-help__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tk-link-accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}

.tk-help__footer-link:hover,
.tk-help__footer-link:focus-visible {
  color: #000 !important;
  text-decoration: none !important;
}

@media (max-width: 460px) {
  .tk-admin-editor__picker-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .tk-admin-editor__picker-row .tk-calendar__btn {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    font-size: 13px !important;
  }

  .tk-admin-editor__save-btn .tk-admin-editor__save-label-full {
    display: none;
  }

  .tk-admin-editor__save-btn .tk-admin-editor__save-label-short {
    display: inline;
  }
}
