/* Kandidáti (/firma/zprava/) — pracovní inbox: filtry, seznam, stavové menu, detail, časová osa */

/* ---------- Kontext vybrané nabídky ---------- */

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

.hp-k-jobctx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 12px;
}

.hp-k-jobctx__back {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  align-self: flex-start;
  float: none !important;
  clear: both;
  max-width: 100%;
  min-height: 32px;
  margin: 0 0 6px;
  padding: 5px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  color: #334155 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}

.hp-k-jobctx__back:hover,
.hp-k-jobctx__back:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
}

.hp-k-jobctx__caption {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #64748b;
}

.hp-k-jobctx__title {
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
  overflow-wrap: anywhere;
}

.hp-k-jobctx__obec {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #64748b;
}

/* Upozornění na neověřený účet — světlý podklad s tmavým textem,
   aby byl odkaz čitelný (téma dává .alert bílý text i bílé odkazy). */
.hp-k-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid #f3cd63;
  border-left: 4px solid #f0b429;
  border-radius: 6px;
  background: #fffbea;
}

.hp-k-notice__body {
  flex: 1 1 320px;
  min-width: 0;
}

.hp-k-notice__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #6b5324;
}

.hp-k-notice__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
}

.hp-k-notice__cta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 4px;
  background: #6b5324;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.hp-k-notice__cta:hover,
.hp-k-notice__cta:focus-visible {
  background: #54401b;
}

/* ---------- Skupiny a stavy ---------- */

.hp-k-tabs {
  margin: 0 0 8px;
  min-width: 0;
}

.hp-k-tabs__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hp-k-tabs__list > li {
  flex: 0 0 auto;
}

.hp-k-tabs__list::-webkit-scrollbar {
  display: none;
}

.hp-k-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #334155 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.hp-k-tabs__item:hover,
.hp-k-tabs__item:focus-visible {
  border-color: #94a3b8;
  background: #f8fafc;
}

.hp-k-tabs__item.is-active {
  border-color: #1e293b;
  background: #1e293b;
  color: #fff !important;
}

.hp-k-tabs__count {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.hp-k-tabs__item.is-active .hp-k-tabs__count {
  background: rgba(255, 255, 255, 0.2);
}

.hp-k-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 12px;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0 2px;
}

.hp-k-chips::-webkit-scrollbar {
  display: none;
}

.hp-k-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid #eef1f5;
  border-radius: 4px;
  background: #f8fafc;
  font-size: 12px;
  color: #64748b !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.hp-k-chip:hover,
.hp-k-chip:focus-visible {
  border-color: #94a3b8;
}

.hp-k-chip.is-active {
  border-color: #1d4ed8;
  background: #eaf0ff;
  font-weight: 600;
}

.hp-k-chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
}

.hp-k-chip__count {
  font-variant-numeric: tabular-nums;
  color: #64748b;
}

.hp-k-chip.is-empty:not(.is-active) {
  opacity: 0.55;
}

@media (min-width: 768px) {
  .hp-k-tabs__list,
  .hp-k-chips {
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* ---------- Badge ---------- */

.hp-k-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}

.hp-k-badge--new {
  background: #1d4ed8;
  color: #fff;
}

.hp-k-badge--wait {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  background: #eef2f6;
  color: #64748b;
}

.hp-k-badge--wait.is-long {
  background: #fff7ed;
  color: #9a3412;
}

.hp-k-badge--read {
  background: #eef2f7;
  color: #475569;
}

/* ---------- Seznam kandidátů ---------- */

.hp-k-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  /* Bez overflow: hidden — rozbalené stavové menu se překrývá přes okraj seznamu. */
}

.hp-k-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 12px;
  padding: 8px 12px;
  border: 1px solid #e3e7ee;
  border-left-width: 3px;
  border-left-color: #c5ccd8;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.hp-k-item:hover {
  border-color: #cbd5e1;
  border-left-color: #94a3b8;
  background: #fbfcfd;
}

.hp-k-item.is-unread {
  border-left-color: #1d4ed8;
  background: #fff;
}

.hp-k-item.is-unread:hover {
  border-left-color: #1d4ed8;
  background: #fbfcfd;
}

.hp-k-item:hover .hp-k-item__name {
  text-decoration: underline;
}

/* Globální `.page-content p { margin: 0 0 20px }` je specifičtější než `.hp-k-item__head`. */
.hp-firma-ui .page-content .hp-k-item p {
  margin: 0;
}

.hp-firma-ui .page-content .hp-k-item p.hp-k-item__notes-preview {
  margin: 4px 0 0;
}

.hp-k-item__main {
  flex: 1 1 16rem;
  min-width: 0;
}

.hp-k-item__side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 9.5rem;
}

.hp-k-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
}

.hp-k-item__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #111827 !important;
  text-decoration: none;
}

.hp-k-item__ago {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}

.hp-k-item__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.hp-k-item__job {
  color: #1d4ed8 !important;
}

.hp-k-item__obec {
  color: #94a3b8;
}

.hp-k-item__obec::before {
  content: "· ";
  color: #c5ccd8;
  font-weight: 400;
}

.hp-k-item__tools {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
  margin: 4px 0 0;
  padding: 0.15rem;
  border: 1px solid #e6eaf0;
  border-radius: 6px;
  background: #f4f6f9;
}

.hp-k-item__tools .hp-k-action,
.hp-k-item__tools .hp-k-action--open {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  font-size: 1.0625rem;
  font-weight: 600;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #3d4654 !important;
  white-space: nowrap;
}

.hp-k-item__tools .hp-k-action:hover,
.hp-k-item__tools .hp-k-action:focus-visible,
.hp-k-item__tools .hp-k-action--open:hover,
.hp-k-item__tools .hp-k-action--open:focus-visible {
  background: #fff;
  border-color: #d5dbe5;
  color: #1f2a37 !important;
}

.hp-k-item__tools .hp-k-note {
  margin: 0;
}

.hp-k-item__tools .hp-k-note__toggle {
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #3d4654;
  white-space: nowrap;
}

.hp-k-item__tools .hp-k-note__toggle::before {
  content: none;
}

.hp-k-item__tools .hp-k-note__toggle:hover,
.hp-k-item__tools .hp-k-note__toggle:focus-visible,
.hp-k-item__tools .hp-k-note[open] .hp-k-note__toggle {
  background: #fff;
  border-color: #d5dbe5;
  color: #1f2a37;
}

.hp-k-item__tools .hp-k-note__form {
  position: absolute;
  z-index: 3;
  width: min(22rem, calc(100vw - 2.5rem));
  margin: 4px 0 0;
  padding: 8px;
  border: 1px solid #e3e7ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hp-k-item__notes {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0 0.25rem 0 0;
  border: 0;
  background: transparent;
}

.hp-k-item__notes.is-empty .hp-k-item__notes-count {
  display: none;
}

.hp-k-item__notes-preview {
  width: 100%;
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}

.hp-k-item__notes-preview:empty {
  display: none;
}

.hp-k-item__signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 4px 0 0;
}

.hp-k-item__signals .hp-dq-summary {
  margin: 0;
}

.hp-k-item__signals .hp-k-item__zprava {
  margin: 0;
}

.hp-k-item__notes-count {
  min-width: 1.6rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #e6eaf0;
  font-size: 1.0625rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #1f2a37;
  line-height: 1.4;
}

.hp-k-item__notes-author {
  font-weight: 600;
  color: #64748b;
}

.hp-k-item__notes-empty {
  color: #94a3b8;
}

/* ---------- Rychlé akce ---------- */

.hp-k-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hp-k-action {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: #1e293b !important;
  text-decoration: none !important;
}

.hp-k-action:hover,
.hp-k-action:focus-visible {
  border-color: #1e293b;
  background: #f8fafc;
}

.hp-k-action.is-muted {
  border-style: dashed;
  color: #94a3b8 !important;
  background: transparent;
}

.hp-k-action--open {
  font-weight: 700;
  border-color: #cbd5e1;
  background: #fff;
  color: #1e293b !important;
}

.hp-k-action--open:hover,
.hp-k-action--open:focus-visible {
  border-color: #1e293b;
  background: #f8fafc;
  color: #1e293b !important;
}

.hp-k-actions--detail {
  margin: 0 0 16px;
}

/* ---------- Stavové menu ---------- */

.hp-k-stav {
  position: relative;
  display: block;
}

.hp-k-stav__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.hp-k-stav__btn::-webkit-details-marker {
  display: none;
}

.hp-k-stav__caret {
  font-size: 11px;
  opacity: 0.75;
}

.hp-k-stav__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

/* Normalize nastavuje details { display: block }, kvůli čemuž zavřený panel
   na mobilu pořád zabíral výšku (bílá díra nad stavem). */
.hp-k-stav:not([open]) > .hp-k-stav__panel {
  display: none;
}

.hp-k-stav__legenda {
  margin: 2px 4px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.hp-k-stav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-k-stav__group {
  margin: 8px 4px 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

.hp-k-stav__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
  color: #1e293b;
  text-align: left;
  cursor: pointer;
}

.hp-k-stav__item:hover,
.hp-k-stav__item:focus-visible {
  background: #f1f5f9;
}

.hp-k-stav__item.is-current {
  font-weight: 700;
  background: #eef2f7;
}

.hp-k-stav__item.is-next {
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.hp-k-stav__item[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.hp-k-stav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
}

.hp-k-stav__tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.hp-k-stav__error {
  margin: 6px 0 0;
  padding: 6px 9px;
  border-radius: 4px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.4;
}

/* Kandidát, který po změně stavu už nepatří do aktuálního pohledu */
.hp-k-item.is-filtered-out {
  opacity: 0.72;
}

.hp-k-item__moved {
  margin: 8px 0 0;
  padding: 6px 9px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
}

/* ---------- Formulář poznámky ---------- */

.hp-k-note {
  margin: 0;
}

.hp-k-note__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  cursor: pointer;
  list-style: none;
}

.hp-k-note__toggle::-webkit-details-marker {
  display: none;
}

.hp-k-note__toggle::before {
  content: "+ ";
}

.hp-k-note[open] .hp-k-note__toggle::before {
  content: "− ";
}

.hp-k-note__form {
  margin: 6px 0 0;
}

.hp-k-note__label {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.hp-k-note__hint {
  display: block;
  font-weight: 400;
  color: #64748b;
}

.hp-k-note__input {
  width: 100%;
  min-height: 74px;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #1e293b;
  resize: vertical;
}

.hp-k-note__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
}

.hp-k-note__submit {
  min-height: 38px;
}

.hp-k-note__kbd {
  font-size: 12px;
  color: #94a3b8;
}

.hp-k-note__error {
  margin: 8px 0 0;
  padding: 7px 10px;
  border-radius: 4px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
}

/* ---------- Prázdný stav, stránkování ---------- */

.hp-k-empty {
  padding: 28px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  color: #475569;
}

.hp-k-empty p {
  margin: 0 0 6px;
}

.hp-k-pager {
  margin: 16px 0 40px;
}

.hp-k-pager__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-k-pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: #1e293b !important;
  text-decoration: none !important;
}

.hp-k-pager__link.is-current {
  border-color: #1e293b;
  background: #1e293b;
  color: #fff !important;
  font-weight: 700;
}

.hp-k-pager__gap {
  display: inline-flex;
  align-items: flex-end;
  padding: 0 4px;
  color: #94a3b8;
}

/* ---------- Detail kandidáta ---------- */

.hp-k-detail {
  margin-bottom: 40px;
}

.hp-k-detail__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 0 0 12px;
}

.hp-k-detail__back {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.hp-k-detail__back-short {
  display: none;
}

.hp-k-detail__steps {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 6px;
}

.hp-k-detail__step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: #1e293b !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.hp-k-detail__step.is-muted {
  border-style: dashed;
  color: #b4bdc9 !important;
  background: transparent;
}

.hp-k-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
}

.hp-k-detail__ident {
  flex: 1 1 300px;
  min-width: 0;
}

.hp-k-detail__name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #1e293b;
}

.hp-k-detail__meta {
  margin: 0 0 6px;
  font-size: 13px;
  color: #475569;
}

.hp-k-detail__sep {
  color: #cbd5e1;
}

.hp-k-detail__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hp-k-detail__justread {
  font-size: 12px;
  color: #64748b;
}

.hp-k-detail__stav {
  flex: 0 0 auto;
}

.hp-k-detail__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.hp-k-detail__main {
  flex: 1 1 420px;
  min-width: 0;
}

.hp-k-detail__side {
  flex: 0 1 320px;
  min-width: 0;
}

.hp-k-card {
  margin-bottom: 16px;
}

.hp-k-muted {
  font-size: 13px;
  color: #64748b;
}

.hp-k-dl {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
}

.hp-k-dl dt {
  font-weight: 600;
  color: #475569;
}

.hp-k-dl dd {
  margin: 0;
  color: #1e293b;
  overflow-wrap: anywhere;
}

.hp-k-dl--inline {
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: baseline;
}

.hp-k-dl--inline dt {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.hp-k-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.hp-k-cv-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 16px;
  line-height: 22px;
  text-decoration: none !important;
}

.hp-k-detail .hp-k-contact__cv {
  margin: 12px 0 0;
}

.hp-k-dl--compact {
  font-size: 13px;
}

.hp-k-letter {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid #e2e8f0;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  background: #fbfcfe;
}

.hp-k-side-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 0;
}

.hp-k-side-actions .hp-k-action {
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  gap: 8px;
}

.hp-k-action .hp-k-emoji {
  flex: 0 0 auto;
}

.hp-k-unread-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
}

.hp-k-unread-form__btn {
  min-height: 38px;
}

.hp-k-unread-form__hint {
  flex: 1 1 140px;
}

/* ---------- Časová osa ---------- */

.hp-k-timeline {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hp-k-timeline__item {
  position: relative;
  margin: 0 0 10px;
  padding: 10px 12px 10px 14px;
  border: 1px solid #eef0f3;
  border-left: 3px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
}

.hp-k-timeline__item--poznamka {
  border-left-color: #1d4ed8;
  background: #f7f9ff;
}

.hp-k-timeline__item--stav {
  border-left-color: #94a3b8;
}

.hp-k-timeline__item--auto_odpoved {
  border-left-color: #2f9e63;
}

.hp-k-timeline__item--reakce {
  border-left-color: #f7b924;
}

.hp-k-timeline__head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 3px;
  font-size: 11px;
}

.hp-k-timeline__label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.hp-k-timeline__time {
  color: #94a3b8;
}

.hp-k-timeline__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.hp-k-timeline__text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
  overflow-wrap: anywhere;
}

/* ---------- Focus a mobil ---------- */

.hp-k-jobctx__back:focus-visible,
.hp-k-tabs a:focus-visible,
.hp-k-chip:focus-visible,
.hp-k-action:focus-visible,
.hp-k-detail__step:focus-visible,
.hp-k-pager__link:focus-visible,
.hp-k-stav__btn:focus-visible,
.hp-k-note__toggle:focus-visible,
.hp-k-stav__item:focus-visible,
.hp-k-note__input:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .hp-k-item {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 12px;
  }

  .hp-k-item__main,
  .hp-k-item__side {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .hp-k-item__ago {
    margin-left: 0;
    width: 100%;
  }

  .hp-k-stav,
  .hp-k-stav__btn {
    width: 100%;
    justify-content: space-between;
  }

  .hp-k-stav__panel {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hp-k-detail__nav {
    flex-wrap: nowrap;
    gap: 6px 8px;
  }

  .hp-k-detail__back {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .hp-k-detail__back-full {
    display: none;
  }

  .hp-k-detail__back-short {
    display: inline;
  }

  .hp-k-detail__steps {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .hp-k-detail__step {
    min-height: 32px;
    padding: 4px 8px;
    font-size: 12px;
  }

  .hp-k-detail__head {
    padding: 12px;
  }

  .hp-k-detail__stav {
    width: 100%;
  }

  .hp-k-dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hp-k-dl dt {
    margin-top: 8px;
  }

  .hp-k-dl--inline {
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
  }

  .hp-k-dl--inline dt {
    margin-top: 0;
  }
}
