/*
 * AI5 Trainingskatalog – Gestaltung nach der Design-Spec der Elevator-Ignite-Seite
 * (Nunito Sans der Website, Tinte #0d0c12, Cyan #60caea, Cyan-Tief #0e7490, Tint #eef8fb).
 * Alle Regeln hängen an .tk-app, damit Divi- und Theme-Stile nicht hineinwirken.
 */

.tk-app {
  --tk-ink: #0d0c12;
  --tk-body: #545454;
  --tk-cyan: #60caea;
  --tk-cyan-hover: #a7dde8;
  --tk-cyan-light: #91d8e2;
  --tk-deep: #0e7490;
  --tk-tint: #eef8fb;
  --tk-line: #d9eef5;
  --tk-input: #cfe4ec;
  --tk-hair: #eef2f4;
  --tk-fine: #6b6b6b; /* Spec: #8b8b8b – zu hell für 13px-Text (3,5:1), hier 5,3:1 */
  --tk-error: #b42318;
  --tk-shadow: 0 6px 24px rgba(14, 116, 144, .07);
  --tk-shadow-hover: 0 14px 32px rgba(14, 116, 144, .12);
  --tk-ic-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --tk-ic-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --tk-ic-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3.5 20c0-3 2.5-5 5.5-5s5.5 2 5.5 5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 15.5c2.5.3 4 2 4 4.5'/%3E%3C/svg%3E");
  --tk-ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --tk-ic-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color: var(--tk-body);
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
}

.tk-app *,
.tk-app *::before,
.tk-app *::after { box-sizing: border-box; }
.tk-app [hidden] { display: none !important; }
.tk-app p, .tk-app ul, .tk-app ol, .tk-app dl, .tk-app dd, .tk-app dt,
.tk-app h2, .tk-app h3, .tk-app fieldset, .tk-app legend { margin: 0; padding: 0; }
/* Divi setzt Listen per .entry-content ul (Punkt, Einzug, Zeilenhöhe 26px) – daher doppelte Klasse */
.tk-app.tk-app ul, .tk-app.tk-app ol { margin: 0; padding: 0; list-style: none; line-height: inherit; }
.tk-app h2, .tk-app h3 { color: var(--tk-ink); font-weight: 800; letter-spacing: 0; }
.tk-app a { color: var(--tk-deep); }

/* DE/EN: der Umschalter der Seite setzt die Body-Klasse tk-en */
body:not(.tk-en) .tk-lang-en,
body.tk-en .tk-lang-de { display: none !important; }

.tk-app .tk-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------ Buttons */
.tk-app .tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.tk-app .tk-btn-primary { background: var(--tk-cyan); border-color: var(--tk-cyan); color: var(--tk-ink); }
.tk-app .tk-btn-primary:hover { background: var(--tk-cyan-hover); border-color: var(--tk-cyan-hover); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(96, 202, 234, .35); }
.tk-app .tk-btn-secondary { background: transparent; border-color: var(--tk-ink); color: var(--tk-ink); }
.tk-app .tk-btn-secondary:hover { background: var(--tk-ink); color: #fff; transform: translateY(-2px); }
.tk-app .tk-btn-ghost { background: transparent; color: var(--tk-deep); padding-left: 0; padding-right: 0; }
.tk-app .tk-btn-ghost:hover { color: var(--tk-ink); }
.tk-app .tk-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.tk-app .tk-btn-secondary:disabled:hover { background: transparent; color: var(--tk-ink); }
.tk-app .tk-btn-sm { font-size: 12.5px; letter-spacing: 1.2px; padding: 10px 18px; }
.tk-app .tk-btn-block { width: 100%; }

.tk-app .tk-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--tk-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tk-app .tk-link-btn:hover { color: var(--tk-ink); }

.tk-app .tk-btn:focus-visible,
.tk-app .tk-link-btn:focus-visible,
.tk-app summary:focus-visible,
.tk-app a:focus-visible { outline: 3px solid rgba(96, 202, 234, .7); outline-offset: 2px; }

/* ------------------------------------------------------------ Formularfelder */
.tk-app .tk-field { display: block; min-width: 0; }
.tk-app .tk-field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tk-deep);
}
.tk-app input[type="text"],
.tk-app input[type="email"],
.tk-app input[type="tel"],
.tk-app input[type="search"],
.tk-app select,
.tk-app textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--tk-ink);
  background-color: #fff;
  border: 1px solid var(--tk-input);
  border-radius: 6px;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tk-app select {
  padding-right: 40px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}
.tk-app textarea { min-height: 110px; resize: vertical; }
.tk-app input:focus,
.tk-app select:focus,
.tk-app textarea:focus { outline: none; border-color: var(--tk-cyan); box-shadow: 0 0 0 3px rgba(96, 202, 234, .25); }
.tk-app [aria-invalid="true"] { border-color: var(--tk-error) !important; }

/* ------------------------------------------------------------ Trainingsfinder */
.tk-app .tk-finder-box {
  background: var(--tk-tint);
  border: 1px solid var(--tk-line);
  border-radius: 14px;
  padding: 40px 44px;
}
.tk-app .tk-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.tk-app .tk-progress-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tk-deep);
  white-space: nowrap;
}
.tk-app .tk-progress-label b { font-weight: 800; }
.tk-app .tk-progress-bar { flex: 1; height: 4px; overflow: hidden; background: var(--tk-line); border-radius: 2px; }
.tk-app .tk-progress-bar i { display: block; width: 25%; height: 100%; background: var(--tk-cyan); transition: width .3s ease; }

.tk-app .tk-q { min-width: 0; border: 0; animation: tk-in .22s ease both; }
.tk-app .tk-q-title {
  display: block;
  float: none;
  width: 100%;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: var(--tk-ink);
  outline: none;
}
.tk-app .tk-q-hint { margin-top: 6px; font-size: 15px; }
.tk-app .tk-options { display: grid; gap: 12px; margin-top: 22px; }
.tk-app .tk-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tk-app .tk-option { position: relative; display: block; margin: 0; cursor: pointer; }
.tk-app .tk-option input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.tk-app .tk-option-body {
  position: relative;
  display: block;
  height: 100%;
  padding: 15px 52px 15px 18px;
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tk-app .tk-option-body::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: #fff;
  border: 2px solid var(--tk-input);
  border-radius: 50%;
  transition: background-color .15s ease, border-color .15s ease;
}
.tk-app .tk-option:hover .tk-option-body { border-color: var(--tk-cyan-light); transform: translateY(-1px); }
.tk-app .tk-option input:checked + .tk-option-body { border-color: var(--tk-cyan); box-shadow: 0 0 0 3px rgba(96, 202, 234, .25); }
.tk-app .tk-option input:checked + .tk-option-body::after {
  background: var(--tk-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--tk-deep);
}
.tk-app .tk-option input:focus-visible + .tk-option-body { outline: 3px solid rgba(96, 202, 234, .7); outline-offset: 2px; }
.tk-app .tk-option-title { display: block; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--tk-ink); }
.tk-app .tk-option-sub { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--tk-body); }

.tk-app .tk-q-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.tk-app .tk-q-nav [data-tk-next] { margin-left: auto; }

.tk-app .tk-results { animation: tk-in .25s ease both; }
.tk-app .tk-results-title { margin-top: 6px; font-size: 24px; line-height: 1.3; outline: none; }
.tk-app .tk-answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tk-app .tk-answer {
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--tk-ink);
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 999px;
}
.tk-app .tk-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.tk-app .tk-results-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.tk-app .tk-rank {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tk-ink);
}
.tk-app .tk-card-result .tk-rank + .tk-card-head { margin-top: -4px; }
.tk-app .tk-why { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-app .tk-why li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 999px;
}
.tk-app .tk-why-ok { color: var(--tk-deep); background: var(--tk-tint); border: 1px solid var(--tk-line); }
.tk-app .tk-why-ok::before {
  content: "";
  width: 11px;
  height: 11px;
  background: currentColor;
  -webkit-mask: var(--tk-ic-check) center / contain no-repeat;
  mask: var(--tk-ic-check) center / contain no-repeat;
}
.tk-app .tk-why-info { color: var(--tk-body); background: #fff; border: 1px solid var(--tk-line); }
.tk-app .tk-why-warn { color: var(--tk-ink); background: #fff; border: 1px dashed var(--tk-fine); }

.tk-app .tk-noscript { padding: 20px 24px; background: var(--tk-tint); border: 1px solid var(--tk-line); border-radius: 10px; }

/* ------------------------------------------------------------ Katalog */
.tk-app .tk-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  padding: 22px 24px;
  background: var(--tk-tint);
  border: 1px solid var(--tk-line);
  border-radius: 12px;
}
.tk-app.tk-catalog:not(.tk-ready) .tk-filters,
.tk-app.tk-catalog:not(.tk-ready) .tk-status,
.tk-app.tk-catalog:not(.tk-ready) [data-tk-inquire] { display: none; }

.tk-app .tk-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 16px; }
.tk-app .tk-count { font-size: 14px; font-weight: 800; color: var(--tk-ink); }

.tk-app .tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }

.tk-app .tk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 24px 24px 22px;
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 10px;
  box-shadow: var(--tk-shadow);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  scroll-margin-top: 140px;
}
.tk-app .tk-card:hover { border-color: var(--tk-cyan-light); box-shadow: var(--tk-shadow-hover); transform: translateY(-2px); }
.tk-app .tk-card:has(details[open]) { transform: none; }
.tk-app .tk-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.tk-app .tk-logo { display: block; width: auto; height: auto; max-width: 128px; max-height: 34px; margin: 0; object-fit: contain; }
.tk-app .tk-partner-name { font-size: 13px; font-weight: 800; line-height: 1.3; color: var(--tk-ink); }
.tk-app .tk-level {
  flex: none;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tk-deep);
  white-space: nowrap;
  background: var(--tk-tint);
  border: 1px solid var(--tk-line);
  border-radius: 999px;
}
.tk-app .tk-overline {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tk-deep);
}
.tk-app .tk-title { font-size: 19px; line-height: 1.35; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.tk-app .tk-short { font-size: 15px; line-height: 1.65; }

.tk-app ul.tk-meta { display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--tk-ink); }
.tk-app .tk-meta li { position: relative; padding-left: 26px; }
.tk-app .tk-meta li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 17px;
  height: 17px;
  background: var(--tk-deep);
  -webkit-mask: var(--tk-icon) center / contain no-repeat;
  mask: var(--tk-icon) center / contain no-repeat;
}
.tk-app .tk-meta-time { --tk-icon: var(--tk-ic-clock); }
.tk-app .tk-meta-place { --tk-icon: var(--tk-ic-pin); }
.tk-app .tk-meta-target { --tk-icon: var(--tk-ic-users); }

.tk-app .tk-badge a {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--tk-deep);
  text-decoration: none;
  border: 1px dashed var(--tk-cyan-light);
  border-radius: 999px;
}
.tk-app .tk-badge a:hover { border-style: solid; }

.tk-app .tk-details { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tk-hair); }
.tk-app .tk-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--tk-deep);
  cursor: pointer;
}
.tk-app .tk-details summary::-webkit-details-marker { display: none; }
.tk-app .tk-details summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--tk-ic-chevron) center / contain no-repeat;
  mask: var(--tk-ic-chevron) center / contain no-repeat;
  transition: transform .18s ease;
}
.tk-app .tk-details[open] summary::after { transform: rotate(180deg); }
.tk-app .tk-details-body { display: grid; gap: 10px; padding-top: 12px; font-size: 14.5px; line-height: 1.65; }
.tk-app .tk-details-label { margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tk-ink); }
.tk-app .tk-agenda { display: grid; gap: 6px; }
.tk-app .tk-agenda li { position: relative; padding-left: 18px; }
.tk-app .tk-agenda li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--tk-cyan);
  border-radius: 50%;
}
.tk-app .tk-agenda strong { display: block; font-weight: 800; color: var(--tk-ink); }
.tk-app .tk-facts-list { display: grid; gap: 6px; padding-top: 10px; font-size: 13.5px; border-top: 1px solid var(--tk-hair); }
.tk-app .tk-facts-list div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
.tk-app .tk-facts-list dt { font-weight: 800; color: var(--tk-ink); }
.tk-app .tk-card-foot { display: flex; padding-top: 4px; }

.tk-app .tk-empty { margin-top: 8px; padding: 36px; text-align: center; background: #fff; border: 1px dashed var(--tk-input); border-radius: 12px; }
.tk-app .tk-empty p { margin-bottom: 10px; }
.tk-app .tk-footnote {
  max-width: 900px;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tk-fine);
  border-top: 1px solid var(--tk-hair);
  scroll-margin-top: 140px;
}

.tk-app .tk-flash { animation: tk-flash 1.8s ease; }

/* ------------------------------------------------------------ Anfrage-Dialog */
.tk-app.tk-dialog {
  width: min(680px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--tk-body);
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(13, 12, 18, .28);
}
.tk-app.tk-dialog::backdrop { background: rgba(13, 12, 18, .55); }
html.tk-modal-open { overflow: hidden; }
.tk-app .tk-form, .tk-app .tk-sent { display: grid; gap: 16px; padding: 36px 40px 32px; }
.tk-app .tk-dialog-head { position: relative; padding-right: 44px; }
.tk-app .tk-dialog-title { margin-top: 4px; font-size: 26px; line-height: 1.25; }
.tk-app .tk-dialog-close {
  position: absolute;
  top: -10px;
  right: -12px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-family: inherit;
  font-size: 28px;
  line-height: 1;
  color: var(--tk-ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.tk-app .tk-dialog-close:hover { background: var(--tk-tint); }
.tk-app .tk-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tk-app .tk-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.55; cursor: pointer; }
.tk-app .tk-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--tk-deep); }
.tk-app .tk-consent input[aria-invalid="true"] { outline: 2px solid var(--tk-error); outline-offset: 2px; }
.tk-app .tk-consent a { font-weight: 700; }
.tk-app .tk-form-status { min-height: 1.4em; font-size: 14px; font-weight: 700; color: var(--tk-ink); }
.tk-app .tk-form-status.is-error { color: var(--tk-error); }
.tk-app .tk-form-note { font-size: 13px; line-height: 1.5; text-align: center; color: var(--tk-fine); }
.tk-app .tk-form-note-test { padding: 8px 12px; font-weight: 700; color: var(--tk-ink); background: var(--tk-tint); border: 1px dashed var(--tk-deep); border-radius: 6px; }
.tk-app .tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-app .tk-sent { justify-items: center; padding: 52px 40px 44px; text-align: center; outline: none; }
.tk-app .tk-sent-icon {
  width: 60px;
  height: 60px;
  background: var(--tk-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat;
  border: 1px solid var(--tk-line);
  border-radius: 50%;
}
.tk-app .tk-sent p { max-width: 460px; }

/* ------------------------------------------------------------ Bewegung */
@keyframes tk-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes tk-flash {
  0%, 45% { box-shadow: 0 0 0 4px rgba(96, 202, 234, .5); }
  100% { box-shadow: var(--tk-shadow); }
}
@media (prefers-reduced-motion: reduce) {
  .tk-app, .tk-app * { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 980px) {
  .tk-app .tk-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-app .tk-field-search { grid-column: 1 / -1; }
  .tk-app .tk-results-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .tk-app .tk-finder-box { padding: 32px 28px; }
}
@media (max-width: 640px) {
  .tk-app .tk-finder-box { padding: 24px 18px; border-radius: 12px; }
  .tk-app .tk-options-grid { grid-template-columns: minmax(0, 1fr); }
  .tk-app .tk-q-title, .tk-app .tk-results-title { font-size: 21px; }
  .tk-app .tk-filters { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .tk-app .tk-form-grid { grid-template-columns: minmax(0, 1fr); }
  .tk-app .tk-form, .tk-app .tk-sent { padding: 28px 22px 24px; }
  .tk-app .tk-dialog-title { font-size: 22px; }
  .tk-app .tk-results-foot { flex-direction: column; align-items: flex-start; }
}
