/* Mis trabajos — independiente del formulario de la carátula. */
.po-workspace > .po-my-jobs-trigger {
  display: inline-flex;
  align-items: center;
  margin: 8px 0 14px;
  padding: 9px 16px;
  background: #264d70;
  color: #fff;
  border: 1px solid #43698e;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 650;
}
.po-workspace > .po-my-jobs-trigger:hover {
  background: #336187;
}
.po-my-jobs-dialog {
  width: min(1120px, 94vw);
  max-width: 94vw;
  max-height: 88vh;
  padding: 22px;
  overflow: auto;
  background: #101b29;
  color: #edf5ff;
  border: 1px solid #48627e;
  border-radius: 12px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}
.po-my-jobs-dialog::backdrop {
  background: rgba(2, 9, 16, 0.76);
}
.po-my-jobs-head,
.po-my-jobs-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.po-my-jobs-head h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}
.po-my-jobs-head p {
  margin: 0;
  color: #b8c9dc;
  font-size: 0.88rem;
}
.po-my-jobs-dialog button {
  color: #edf5ff;
  border: 1px solid #52708e;
  border-radius: 6px;
  padding: 8px 12px;
  background: #274f73;
  cursor: pointer;
}
.po-my-jobs-dialog button:hover:not(:disabled) {
  background: #37678f;
}
.po-my-jobs-dialog button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.po-my-jobs-dialog .po-my-jobs-close,
.po-my-jobs-dialog .po-my-jobs-action.secondary {
  background: transparent;
}
.po-my-jobs-filters {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 22px 0 12px;
}
.po-my-jobs-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
}
.po-my-jobs-filters input,
.po-my-jobs-filters select {
  width: 100%;
  box-sizing: border-box;
  background: #0b1521;
  color: #edf5ff;
  border: 1px solid #425872;
  border-radius: 6px;
  min-height: 36px;
  padding: 7px 9px;
}
.po-my-jobs-status {
  font-size: 0.82rem;
  color: #b8c9dc;
  min-height: 18px;
  margin: 0 0 8px;
}
.po-my-jobs-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #405873;
  border-radius: 7px;
}
.po-my-jobs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.85rem;
}
.po-my-jobs-table th {
  text-align: left;
  background: #203449;
  white-space: nowrap;
}
.po-my-jobs-table th,
.po-my-jobs-table td {
  padding: 11px;
  border-bottom: 1px solid #2c4055;
  vertical-align: middle;
}
.po-my-jobs-table tbody tr:last-child td {
  border-bottom: 0;
}
.po-my-jobs-table td strong,
.po-my-jobs-table td span {
  display: block;
}
.po-my-jobs-table td span {
  color: #b8c9dc;
  margin-top: 3px;
  font-size: 0.8rem;
}
.po-my-jobs-id {
  font-weight: 700;
  white-space: nowrap;
}
.po-my-jobs-actions {
  white-space: nowrap;
}
.po-my-jobs-actions button + button {
  margin-left: 6px;
}
.po-my-jobs-stage-pending {
  color: #f5c778;
}
.po-my-jobs-stage-approved,
.po-my-jobs-stage-completed {
  color: #86d0a6;
}
.po-my-jobs-stage-rejected {
  color: #f4a8a8;
}
.po-my-jobs-footer {
  margin-top: 14px;
  color: #b8c9dc;
  font-size: 0.8rem;
}
.po-my-jobs-pager {
  display: flex;
  gap: 8px;
}
@media (max-width: 720px) {
  .po-my-jobs-filters {
    grid-template-columns: 1fr;
  }
  .po-my-jobs-head {
    align-items: flex-start;
  }
  .po-my-jobs-footer {
    flex-wrap: wrap;
  }
}
