/* Náborový dashboard /firma/ (Přehled)
   Stupnice: 15 / 17 / 18 / 20 / 21 / 22 / 24 / 28 / 32 px (root 16).
   Karty inzerátů = samostatné bloky (jako .hp-k-item). Název 22 px desktop / 24 px mobil. */

.hp-fd {
  margin: 0 0 1.25rem;
  color: var(--hp-ink, #334552);
}

.hp-fd-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
}

.hp-fd-header .hp-fd-section-title {
  margin: 0;
}

a.hp-fd-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: 4.25rem;
  padding: 0.9rem 1.5rem 0.9rem 0.95rem;
  border: 1px solid #2aadde;
  border-radius: 8px;
  background: #2aadde;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(42, 173, 222, 0.32);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.hp-fd-new:hover,
a.hp-fd-new:focus {
  background: #3bb8e8;
  border-color: #3bb8e8;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(42, 173, 222, 0.42);
  transform: translateY(-1px);
}

a.hp-fd-new:focus-visible {
  outline: 2px solid #1f2a37;
  outline-offset: 3px;
}

.hp-fd-new__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 40, 60, 0.12);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
}

.hp-fd-empty a.hp-fd-new {
  margin-top: 0.2rem;
}

@media (prefers-reduced-motion: reduce) {
  a.hp-fd-new {
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  a.hp-fd-new:hover,
  a.hp-fd-new:focus {
    transform: none;
  }
}

.hp-fd-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hp-fd-stats__item {
  flex: 1 1 0;
  min-width: 0;
}

.hp-fd-stats__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 0.85rem 1.05rem;
  border: 1px solid #e3e7ee;
  border-radius: 4px;
  background: #fff;
  color: #1f2a37;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hp-fd-stats__link:hover,
.hp-fd-stats__link:focus-visible {
  border-color: #b8c0cc;
  background: #f7f8fa;
  color: #1f2a37;
  text-decoration: none;
}

.hp-fd-stats__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hp-fd-stats__num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

.hp-fd-stats__label {
  margin-top: 0.2rem;
  font-size: 1.125rem;
  line-height: 1.35;
  color: #3d4654;
}

.hp-fd-stats__link.is-attention .hp-fd-stats__num {
  color: #a8354c;
}

.hp-fd-stats__note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #5b6573;
}

.hp-fd-spark {
  display: block;
  position: relative;
  margin-top: 0.35rem;
  color: #5b6573;
}

.hp-fd-spark__svg {
  display: block;
  width: 100%;
  height: 2.8rem;
}

@media (min-width: 768px) {
  .hp-fd-stats__link:has(.hp-fd-spark) {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .hp-fd-stats__link:has(.hp-fd-spark) .hp-fd-stats__copy {
    flex: 1 1 auto;
  }

  .hp-fd-stats__link:has(.hp-fd-spark) .hp-fd-spark {
    flex: 0 0 9rem;
    width: 9rem;
    margin-top: 0;
    margin-left: auto;
  }

  .hp-fd-stats__link:has(.hp-fd-spark) .hp-fd-spark__svg {
    height: 2.4rem;
  }
}

.hp-fd-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hp-fd-job p.hp-fd-job__vykon {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #5b6573;
}

.hp-fd-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: 0 0 1.25rem;
}

.hp-fd-panel {
  flex: 1 1 18rem;
  min-width: 0;
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 4px;
  padding: 0.85rem 1rem 0.75rem;
}

.hp-fd-panel--jobs {
  flex: 1 1 14rem;
  max-width: 100%;
}

.hp-fd-saved {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid #cfe6d6;
  border-radius: 4px;
  background: #f4fbf6;
}

.hp-fd-saved__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  color: #1f2a37;
}

.hp-fd-saved--error {
  border-color: #e8cbd2;
  background: #fdf5f7;
}

.hp-fd-confirm {
  margin: 0 0 1.15rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid #cfe6d6;
  border-left-width: 4px;
  border-radius: 4px;
  background: #f4fbf6;
}

.hp-fd-confirm--go {
  border-color: #cfe6d6;
  border-left-color: #48cfad;
  background: #f4fbf6;
}

.hp-fd-confirm--end {
  border-color: #e8cbd2;
  border-left-color: #a8354c;
  background: #fdf5f7;
}

.hp-fd-confirm__title {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: #1f2a37;
}

.hp-fd-confirm__nazev {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #3d4654;
}

.hp-fd-confirm__text {
  margin: 0 0 0.95rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #3d4654;
}

.hp-fd-confirm__actions {
  margin: 0;
}

.hp-fd-confirm__actions form {
  margin: 0;
}

@media (min-width: 992px) {
  .hp-fd-panel--candidates {
    flex: 1.4 1 0;
  }

  .hp-fd-panel--jobs {
    flex: 1 1 0;
    max-width: 38%;
  }
}

.hp-fd-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
}

.hp-fd-panel__title {
  margin: 0;
  font-size: 1.3125rem;
  font-weight: 800;
  color: #111827;
}

.hp-fd-panel__more {
  font-size: 1.0625rem;
  white-space: nowrap;
}

.hp-fd-list {
  --hp-fd-row-h: 4.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: calc(var(--hp-fd-row-h) * 3);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.hp-fd-row {
  border-top: 1px solid #eef1f5;
}

.hp-fd-row:first-child {
  border-top: 0;
}

.hp-fd-row__link {
  display: block;
  min-height: var(--hp-fd-row-h);
  box-sizing: border-box;
  padding: 0.4rem 0.15rem;
  color: inherit;
  text-decoration: none;
}

.hp-fd-row__link:hover,
.hp-fd-row__link:focus-visible {
  text-decoration: none;
  background: #f7f8fa;
}

.hp-fd-row__link:hover .hp-fd-row__name,
.hp-fd-row__link:focus-visible .hp-fd-row__name {
  text-decoration: underline;
}

.hp-fd-row__top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin: 0 0 0.1rem;
  min-width: 0;
}

.hp-fd-row__name {
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #111827;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-fd-row__meta {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: #3d4654;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-fd-row__job {
  color: #3d4654;
}

.hp-fd-stav {
  display: inline-block;
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.hp-fd-row .hp-k-badge {
  flex: 0 0 auto;
  font-size: 0.875rem;
  padding: 0.12rem 0.45rem;
  line-height: 1.35;
}

.hp-fd-empty {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #3d4654;
}

.hp-fd-empty p {
  margin: 0 0 0.5rem;
}

.hp-fd-onboarding {
  margin: 0 0 1.25rem;
  border: 1px solid #e3e7ee;
  border-radius: 4px;
  background: #fafbfc;
}

.hp-fd-onboarding__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2a37;
}

.hp-fd-onboarding__summary::-webkit-details-marker {
  display: none;
}

.hp-fd-onboarding__hint {
  font-weight: 400;
  font-size: 1.0625rem;
  color: #3d4654;
}

.hp-fd-onboarding__body {
  padding: 0 0.9rem 0.85rem;
  border-top: 1px solid #e3e7ee;
}

.hp-fd-onboarding__steps {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.hp-fd-onboarding__step {
  margin: 0;
  padding: 0.35rem 0;
  font-size: 1.125rem;
  line-height: 1.45;
}

.hp-fd-onboarding__step.is-done {
  color: #5b6573;
}

.hp-fd-onboarding__step a {
  font-weight: 600;
}

.hp-fd-onboarding__help {
  margin: 0.65rem 0 0;
  font-size: 1.0625rem;
}

.hp-fd-section-title {
  margin: 1.35rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  scroll-margin-top: 1rem;
}

/* Správa inzerátů */
.hp-fd-listings {
  margin: 0 0 1.5rem;
}

.hp-fd-listings__hint {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: #3d4654;
}

.hp-fd-listings__expiry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem 0.85rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #e0b84a;
  border-radius: 6px;
  background: #fff3d0;
  box-shadow: 0 1px 0 rgba(92, 50, 0, 0.06);
}

a.hp-fd-listings__expiry-cta {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c3200;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  box-shadow: none;
}

a.hp-fd-listings__expiry-cta:hover,
a.hp-fd-listings__expiry-cta:focus-visible {
  background: transparent;
  border: 0;
  color: #3f2200;
  text-decoration: underline;
}

a.hp-fd-listings__expiry-cta.is-active {
  background: transparent;
  border: 0;
  font-weight: 700;
}

.hp-fd-listings__extend-all {
  flex: 0 0 auto;
  margin: 0;
}

.hp-fd-listings__extend-all .hp-firma-btn {
  background: #5c3200;
  border-color: #5c3200;
  color: #fff;
  font-weight: 700;
}

.hp-fd-listings__extend-all .hp-firma-btn:hover,
.hp-fd-listings__extend-all .hp-firma-btn:focus-visible {
  background: #3f2200;
  border-color: #3f2200;
  color: #fff;
}

.hp-fd-tabs__list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.2rem;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  background: #eef1f5;
}

.hp-fd-tabs__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 4px;
  padding: 0.55rem 1.15rem;
  min-height: 48px;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: #3d4654;
  text-decoration: none;
  cursor: pointer;
}

.hp-fd-tabs__btn:hover,
.hp-fd-tabs__btn:focus-visible {
  color: #1f2a37;
  background: #fff;
  text-decoration: none;
}

.hp-fd-tabs__btn.is-active {
  border-color: #2aadde;
  color: #0f5f82;
  background: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 1px #2aadde;
}

.hp-fd-tabs__count {
  display: inline-block;
  margin-left: 0.2rem;
  font-weight: 700;
  opacity: 0.9;
}

.hp-fd-tabs__btn.is-active .hp-fd-tabs__count {
  opacity: 1;
  color: #0f5f82;
}

.hp-fd-job-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
}

.hp-fd-job {
  position: relative;
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid #e3e7ee;
  border-left-width: 3px;
  border-left-color: #c5ccd8;
  border-radius: 6px;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hp-fd-job:hover {
  border-top-color: #cbd5e1;
  border-right-color: #cbd5e1;
  border-bottom-color: #cbd5e1;
  background: #fbfcfd;
}

.hp-fd-job--aktivni {
  border-left-color: #2aadde;
}

.hp-fd-job--premium {
  border-left-color: #2f9e63;
}

.hp-fd-job--expiring {
  border-left-color: #d4a017;
  background: #fff8eb;
}

.hp-fd-job--expiring:hover {
  background: #fff3d9;
}

.hp-fd-job--neaktivni,
.hp-fd-job--smazane {
  border-left-color: #c5ccd8;
}

.hp-fd-job--neaktivni:hover,
.hp-fd-job--smazane:hover {
  border-left-color: #94a3b8;
}

.hp-fd-job__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem 1.1rem;
  margin: 0 0 0.45rem;
}

.hp-fd-job__identity {
  flex: 1 1 14rem;
  min-width: 0;
}

.hp-fd-job__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.hp-fd-job__title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111827;
  text-decoration: none;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-fd-job__title:hover,
.hp-fd-job__title:focus-visible {
  color: #111827;
  text-decoration: underline;
}

.hp-fd-job__stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 5.25rem;
  padding: 0.1rem 0 0;
  color: #111827;
  text-decoration: none;
  line-height: 1.05;
  text-align: right;
}

.hp-fd-job__stat:hover,
.hp-fd-job__stat:focus-visible {
  color: #111827;
  text-decoration: none;
}

.hp-fd-job__stat:hover .hp-fd-job__stat-num,
.hp-fd-job__stat:focus-visible .hp-fd-job__stat-num {
  text-decoration: underline;
}

.hp-fd-job__stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hp-fd-job__stat-lbl {
  margin-top: 0.12rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #5b6573;
  line-height: 1.2;
}

.hp-fd-job__chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.35rem;
}

.hp-fd-job__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.55rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #3d4654;
}

.hp-fd-job__flag {
  display: inline-block;
  width: 20px;
  height: 13px;
  object-fit: cover;
  vertical-align: -1px;
  margin: 0 0.28em;
  border-radius: 1px;
}

.hp-fd-job__meta > * + *::before {
  content: "·";
  margin-right: 0.45rem;
  color: #aab2be;
}

.hp-fd-job__warn {
  color: #a8354c;
  font-weight: 600;
}

.hp-fd-job__dq {
  font-size: 0.9375rem;
  padding: 0.12rem 0.5rem;
  border-radius: 3px;
  background: #eef1f5;
  color: #3d4654;
}

.hp-fd-job__dq.is-off {
  color: #8a5361;
  background: #f6ecef;
}

.hp-fd-job__expiry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.8rem;
  border: 1px solid #ecd08a;
  border-radius: 4px;
  background: #fff6e0;
  color: #6b3a00;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.hp-fd-job__expiry a {
  color: #6b3a00;
  font-weight: 800;
  text-decoration: underline;
}

.hp-fd-job__expiry a:hover,
.hp-fd-job__expiry a:focus-visible {
  color: #4a2800;
}

/* Kompaktní toolbox jednoho inzerátu */
.hp-fd-job__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin: 0.65rem 0 0;
}

.hp-fd-job__boost {
  margin-left: auto;
}

a.hp-fd-act.hp-fd-job__boost--head {
  display: none;
}

.hp-fd-act__label-short {
  display: none;
}

.hp-fd-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.3rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #3d4654;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.hp-fd-act__ico {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 0.9em;
  line-height: 1;
}

.hp-fd-act:hover,
.hp-fd-act:focus-visible {
  background: #fff;
  border-color: #d5dbe5;
  color: #1f2a37;
  text-decoration: none;
}

.hp-fd-act:focus-visible {
  outline: 2px solid #2aadde;
  outline-offset: 1px;
}

/* Utility akce jako jeden segmentovaný pruh */
.hp-fd-toolbox {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
  padding: 0.15rem;
  border: 1px solid #e6eaf0;
  border-radius: 6px;
  background: #f4f6f9;
}

.hp-fd-act--primary {
  min-height: 48px;
  padding: 0.4rem 1rem;
  border-color: #1f2a37;
  background: #1f2a37;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
}

.hp-fd-act--primary:hover,
.hp-fd-act--primary:focus-visible {
  border-color: #131c26;
  background: #131c26;
  color: #fff;
}

.hp-fd-act__count {
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1em;
  font-weight: 800;
}

.hp-fd-act--premium {
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  border-color: #ecd08a;
  background: #fff8e0;
  color: #3f2200;
  font-size: 1.0625rem;
  font-weight: 800;
  white-space: nowrap;
}

.hp-fd-act--premium:hover,
.hp-fd-act--premium:focus-visible {
  border-color: #d4a017;
  background: #fff3c4;
  color: #3f2200;
  color: #1f2a37;
}

.hp-fd-act--premium .hp-fd-act__count {
  background: rgba(31, 42, 55, 0.18);
  color: #1f2a37;
}

.hp-fd-act--credits {
  min-height: 48px;
  padding: 0.4rem 0.95rem;
  border-color: #9ad4ee;
  background: #eef8fc;
  color: #1578a3;
  font-size: 1.0625rem;
  font-weight: 800;
}

.hp-fd-act--credits:hover,
.hp-fd-act--credits:focus-visible {
  border-color: #2aadde;
  background: #e2f4fb;
  color: #0f5f82;
}

.hp-fd-act--restore {
  border-color: #c5ccd8;
  background: #fff;
  color: #1f2a37;
  font-weight: 700;
}

.hp-fd-act--restore:hover,
.hp-fd-act--restore:focus-visible {
  background: #1f2a37;
  border-color: #1f2a37;
  color: #fff;
}

.hp-fd-act--extend {
  border-color: #ecd08a;
  background: #fff6e0;
  color: #8a6110;
  font-weight: 700;
}

.hp-fd-act--extend:hover,
.hp-fd-act--extend:focus-visible {
  border-color: #d9b45c;
  background: #fdf3dc;
  color: #6f4c08;
}

.hp-fd-act--danger {
  color: #8a5361;
  font-weight: 500;
}

.hp-fd-act--danger:hover,
.hp-fd-act--danger:focus-visible {
  border-color: #e8cbd2;
  background: #fdf5f7;
  color: #a8354c;
}

/* Ukončení nabídky — panel na kartě, bez mezistránky. */
.hp-fd-end {
  display: contents;
}

.hp-fd-end.hp-fd-end--mimo {
  display: block;
  margin: 0 0 1rem;
}

.hp-fd-end__check,
.hp-fd-end__none {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-fd-end__check:focus-visible + .hp-fd-act--danger {
  outline: 2px solid #2aadde;
  outline-offset: 1px;
}

.hp-fd-end__panel {
  display: none;
  flex: 1 0 100%;
  min-width: 100%;
  order: 5;
  box-sizing: border-box;
  margin: 0.65rem 0 0.1rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid #e8cbd2;
  border-left: 4px solid #a8354c;
  border-radius: 4px;
  background: #fdf5f7;
}

.hp-fd-end__check:checked ~ .hp-fd-end__panel {
  display: block;
}

.hp-fd-toolbox:has(.hp-fd-end__check:checked) {
  flex-wrap: wrap;
  width: 100%;
}

.hp-fd-toolbox:has(.hp-fd-end__check:checked) .hp-fd-act {
  flex: 0 0 auto;
}

.page-content .hp-fd-end__panel p {
  margin: 0 0 0.7rem;
}

.hp-fd-end__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f2a37;
}

.hp-fd-end__nazev {
  font-size: 1.125rem;
  font-weight: 700;
  color: #3d4654;
}

.hp-fd-end__text {
  font-size: 1.125rem;
  line-height: 1.45;
  color: #3d4654;
}

.hp-fd-end__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.hp-fd-end__actions form {
  margin: 0;
}

.hp-fd-end__submit,
.hp-fd-end__cancel {
  width: auto !important;
  min-height: 42px;
  box-sizing: border-box;
}

.hp-fd-end__submit {
  padding: 0.45rem 0.95rem;
  border: 0;
  border-radius: 4px;
  background: #a8354c;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.hp-fd-end__submit:hover,
.hp-fd-end__submit:focus-visible {
  background: #8c2438;
  color: #fff;
}

.hp-fd-end__cancel {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.35rem;
  color: #3d4654;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: underline;
}

label.hp-fd-act {
  text-decoration: none;
}

.hp-fd-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.hp-fd-chip--premium {
  color: #fff;
  background: #2f9e63;
}

.hp-fd-chip--boost {
  color: #3d2f00;
  background: #f7d774;
}

.hp-fd-chip--expiry {
  color: #6b3a00;
  background: #ffcc66;
}

.hp-fd-chip--muted {
  color: #3d4654;
  background: #eceff4;
}

/* Náborové nástroje */
.hp-fd-tools {
  margin: 0 0 1.5rem;
}

.hp-fd-tools__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.hp-fd-tool {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border: 1px solid #e3e7ee;
  border-radius: 4px;
  background: #fff;
}

.hp-fd-tool__icon {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #eef1f5;
  color: #1f2a37;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

.hp-fd-tool--premium .hp-fd-tool__icon {
  background: #fdf0d2;
}

.hp-fd-tool__body {
  min-width: 0;
  flex: 1 1 auto;
}

.hp-fd-tool__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin: 0 0 0.25rem;
}

.hp-fd-tool__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.hp-fd-tool__chip {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.hp-fd-tool__chip--ok {
  color: #1f7a4d;
  background: #e6f5ec;
}

.hp-fd-tool__chip--premium {
  color: #8a6110;
  background: #fdf0d2;
}

.hp-fd-tool__chip--muted,
.hp-fd-tool__chip--todo {
  color: #3d4654;
  background: #eceff4;
}

.hp-fd-tool__desc {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  color: #3d4654;
  line-height: 1.45;
}

.hp-fd-tool__detail {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #5b6573;
  line-height: 1.4;
}

/* Checklist firemního profilu */
.hp-fd-check {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  margin: 0 0 0.55rem;
  padding: 0;
  list-style: none;
}

.hp-fd-check__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: #1f2a37;
}

.hp-fd-check__mark {
  font-weight: 700;
  line-height: 1;
}

.hp-fd-check__item.is-done .hp-fd-check__mark {
  color: #2f9e63;
}

.hp-fd-check__item.is-todo {
  color: #8a5361;
}

.hp-fd-check__item.is-todo .hp-fd-check__mark {
  color: #a8354c;
}

.hp-fd-check__item.is-optional {
  color: #5b6573;
}

.hp-fd-check__item.is-optional .hp-fd-check__mark {
  color: #b8c0cc;
}

.hp-fd-check__note {
  font-size: 0.9375rem;
  color: #5b6573;
}

.hp-fd-tool--profil {
  grid-column: 1 / -1;
  background: #fbfcfd;
}

.hp-fd-tool--profil .hp-fd-tool__icon {
  background: #e7f1f8;
}

.hp-fd-tool__cta {
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.hp-fd-tool__cta:hover,
.hp-fd-tool__cta:focus-visible {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .hp-fd-header .hp-fd-new,
  .hp-fd-empty a.hp-fd-new {
    width: 100%;
  }

  .hp-fd-stats {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .hp-fd-stats__item {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .hp-fd-stats__link {
    min-height: 0;
    padding: 0.65rem 0.45rem;
  }

  .hp-fd-stats__num {
    font-size: 1.5rem;
  }

  .hp-fd-stats__label {
    font-size: 0.9375rem;
    line-height: 1.25;
  }

  .hp-fd-tabs__list {
    display: flex;
    width: 100%;
  }

  .hp-fd-tabs__btn {
    flex: 1 1 0;
    font-size: 1rem;
    padding: 0.5rem 0.45rem;
  }

  .hp-fd-job {
    padding: 1.15rem 1rem 1.15rem;
  }

  .hp-fd-job__title,
  .hp-fd-job__stat-num {
    font-size: 1.5rem;
  }

  .hp-fd-job__stat {
    min-width: 4.5rem;
  }

  .hp-fd-job__head {
    flex-wrap: nowrap;
    gap: 0.4rem 0.7rem;
  }

  .hp-fd-job__identity {
    flex: 1 1 0;
  }

  .hp-fd-job__aside {
    gap: 0.25rem;
    max-width: 10.5rem;
  }

  .hp-fd-job__actions {
    gap: 0.4rem;
  }

  .hp-fd-act--primary {
    flex: 1 1 auto;
    min-height: 48px;
    font-size: 1.0625rem;
  }

  a.hp-fd-act.hp-fd-job__boost--row {
    display: none;
  }

  a.hp-fd-act.hp-fd-job__boost--head {
    display: inline-flex;
    margin-left: 0;
    max-width: 100%;
    min-height: 24px;
    padding: 0.12rem 0.45rem;
    font-size: 0.9375rem;
    font-weight: 700;
    gap: 0;
  }

  .hp-fd-job__boost--head .hp-fd-act__ico {
    display: none;
  }

  .hp-fd-act--premium .hp-fd-act__label-full,
  .hp-fd-act--credits .hp-fd-act__label-full {
    display: none;
  }

  .hp-fd-act--premium .hp-fd-act__label-short,
  .hp-fd-act--credits .hp-fd-act__label-short {
    display: inline;
  }

  .hp-fd-toolbox {
    flex: 1 1 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .hp-fd-toolbox .hp-fd-act {
    flex: 1 1 0;
    min-height: 44px;
    padding: 0.25rem 0.3rem;
    font-size: 1rem;
  }

  .hp-fd-tools__grid {
    grid-template-columns: 1fr;
  }

  .hp-fd-check {
    gap: 0.15rem 0.85rem;
  }
}

/* Osobní uvítání zakladatele nad KPI. */
.hp-fd-welcome {
  margin: 0 0 1.25rem;
  border: 1px solid #e3e7ee;
  border-radius: 6px;
  background: #e8f6fb;
  color: var(--hp-ink, #334552);
}

.hp-fd-welcome__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  margin: 0;
  padding: 0.85rem 1.05rem;
  list-style: none;
  cursor: pointer;
  color: inherit;
}

.hp-fd-welcome__summary::-webkit-details-marker {
  display: none;
}

.hp-fd-welcome__summary::marker {
  content: '';
}

.hp-fd-welcome__summary:focus {
  outline: none;
}

.hp-fd-welcome__summary:focus-visible {
  outline: 2px solid #1f2a37;
  outline-offset: -2px;
}

.hp-fd-welcome__title {
  min-width: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Lato, Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

.hp-fd-welcome__hide {
  display: none;
  flex: 0 0 auto;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f5f82;
}

.hp-fd-welcome[open] .hp-fd-welcome__hide {
  display: inline;
}

.hp-fd-welcome__body {
  padding: 0 1.05rem 1.05rem;
}

.page-content .hp-fd-welcome p {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--hp-ink, #334552);
}

.page-content .hp-fd-welcome p.hp-fd-welcome__mail {
  margin: 0.15rem 0 0;
}

.hp-fd-welcome__mail a {
  overflow-wrap: anywhere;
}

.hp-fd-welcome__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0 0 0.85rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid #2aadde;
  border-radius: 6px;
  background: #2aadde;
  color: #fff;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.hp-fd-welcome__play:hover,
.hp-fd-welcome__play:focus {
  background: #3bb8e8;
  border-color: #3bb8e8;
  color: #fff;
}

.hp-fd-welcome__play:focus-visible {
  outline: 2px solid #1f2a37;
  outline-offset: 3px;
}

.hp-fd-welcome__play[hidden],
.hp-fd-welcome__player[hidden] {
  display: none !important;
}

.hp-fd-welcome__player {
  position: relative;
  margin: 0 0 0.85rem;
  padding-top: 56.25%;
  border-radius: 4px;
  background: #0f1c28;
  overflow: hidden;
}

.hp-fd-welcome__player iframe {
  border: 0;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .hp-fd-welcome__summary,
  .hp-fd-welcome__body {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .hp-fd-welcome__body {
    padding-bottom: 0.9rem;
  }

  .hp-fd-welcome__play {
    width: 100%;
  }
}

