.pb-layout {
  display: flex;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 0px);
  overflow: hidden;
  font-size: 13px;
  color: #1a1a2e;
}

.ps-left {
  flex: 0 0 280px;
  min-width: 260px;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  overflow: hidden;
}

.ps-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 10px;
  border-bottom: 1px solid #e0e0e0;
}

.ps-list-title {
  font-weight: 600;
  font-size: 13px;
  color: #333;
}

.ps-search-bar {
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;

  input {
    width: 100%;
    border: 1px solid #ccd;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 12px;
    outline: none;

    &:focus { border-color: #3b5bdb; }
  }
}

.ps-partner-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  flex: 1;
}

.ps-partner-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;

  &:hover { background: #f0f4ff; }
  &.ps-selected { background: #e8eeff; border-left: 3px solid #3b5bdb; }
}

.ps-partner-name {
  font-weight: 500;
  font-size: 13px;
}

.ps-partner-meta {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.ps-centre {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  min-width: 0;
}

.ps-empty {
  color: #aaa;
  font-size: 13px;
  padding: 20px 0;
  text-align: center;
}

.ps-field-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ps-field {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;

  label {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  input, select, textarea {
    border: 1px solid #ccd;
    border-radius: 5px;
    padding: 7px 10px;
    font-size: 13px;
    outline: none;
    background: #fff;
    transition: border-color 0.15s;

    &:focus { border-color: #3b5bdb; }
  }

  textarea { resize: vertical; }
}

.ps-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e8e8e8;
}